diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index e74256523c..5fb5fd504f 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -612,7 +612,7 @@ void wxTopLevelWindowMSW::DoShowWindow(int nShowCmd) void wxTopLevelWindowMSW::ShowWithoutActivating() { if ( !wxWindowBase::Show(true) ) - return false; + return; DoShowWindow(SW_SHOWNA); }