Fix MSVC warning about int->bool conversion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2010-08-03 12:59:30 +00:00
parent 0826c4d39a
commit a492bccff9

View File

@@ -713,7 +713,7 @@ bool wxWindowMSW::MSWEnableHWND(WXHWND hWnd, bool enable)
if ( !enable && ::GetFocus() == hWnd )
Navigate();
return ::EnableWindow(hWnd, (BOOL)enable);
return ::EnableWindow(hWnd, (BOOL)enable) != 0;
}
bool wxWindowMSW::Show(bool show)