fix MSVC warning about implicit int to bool conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -328,7 +328,7 @@ void wxAppBase::SetActive(bool active, wxWindow * WXUNUSED(lastFocus))
|
||||
|
||||
bool wxAppBase::IsEventAllowedInsideYield(wxEventCategory cat) const
|
||||
{
|
||||
return m_eventsToProcessInsideYield & cat;
|
||||
return (m_eventsToProcessInsideYield & cat) != 0;
|
||||
}
|
||||
|
||||
bool wxAppBase::SafeYield(wxWindow *win, bool onlyIfNeeded)
|
||||
|
Reference in New Issue
Block a user