X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07082b28a5871794c835555c165790620384ffd6..ef0e85f3f19bb66450d77b98606a315b3f1897a2:/src/common/appcmn.cpp?ds=sidebyside diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index ce42b0dd1f..b1ab25eaf1 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -166,7 +166,7 @@ bool wxAppBase::OnInit() OnInitCmdLine(parser); bool cont; - switch ( parser.Parse() ) + switch ( parser.Parse(FALSE /* don't show usage */) ) { case -1: cont = OnCmdLineHelp(parser); @@ -287,7 +287,7 @@ bool wxAppBase::OnCmdLineParsed(wxCmdLineParser& parser) if ( !SetDisplayMode(wxDisplayModeInfo(w, h, bpp)) ) return FALSE; } -#endif +#endif // __WXMGL__ return TRUE; }