OnInitCmdLine(parser);
bool cont;
- switch ( parser.Parse() )
+ switch ( parser.Parse(FALSE /* don't show usage */) )
{
case -1:
cont = OnCmdLineHelp(parser);
return FALSE;
}
- if ( !SetDisplayMode(wxDisplayModeInfo(wxSize(w, h), bpp)) )
+ if ( !SetDisplayMode(wxDisplayModeInfo(w, h, bpp)) )
return FALSE;
}
-#endif
+#endif // __WXMGL__
return TRUE;
}