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:
Vadim Zeitlin
2009-02-04 23:06:29 +00:00
parent 457f3abf14
commit 2fd35de1c3

View File

@@ -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)