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;
}
{
#if defined(__WXMSW__) && !defined(__WXMICROWIN__)
DebugBreak();
-#elif defined(__WXMAC__)
+#elif defined(__WXMAC__) && !defined(__DARWIN__)
#if __powerc
Debugger();
#else