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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user