X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49e885f80715560a88d0f7eccbb497ec8c3c1641..0ded6bb695f82a0b98d0862ec6870fc5c6cb8b97:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index af586d4f31..ce42b0dd1f 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -284,7 +284,7 @@ bool wxAppBase::OnCmdLineParsed(wxCmdLineParser& parser) return FALSE; } - if ( !SetDisplayMode(wxDisplayModeInfo(wxSize(w, h), bpp)) ) + if ( !SetDisplayMode(wxDisplayModeInfo(w, h, bpp)) ) return FALSE; } #endif @@ -325,7 +325,7 @@ void wxTrap() { #if defined(__WXMSW__) && !defined(__WXMICROWIN__) DebugBreak(); -#elif defined(__WXMAC__) +#elif defined(__WXMAC__) && !defined(__DARWIN__) #if __powerc Debugger(); #else