X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c31ad41d80a54677b6a3100b77b9747f6bad7d65..fa1c12bdd76acc21ddb45b90bb53b2f58aed946d:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 49c21fe469..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