]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
made wxNumberEntryDialog public; extracted it and wxGetNumberFromUser() in a separate...
[wxWidgets.git] / src / common / appcmn.cpp
index c6e0fc945bdbb8abaac00f8d38701d6055c8db65..769a9d18b5e4be5e8a9a39852a4d2809af0b4347 100644 (file)
@@ -240,7 +240,7 @@ bool wxAppBase::OnCmdLineParsed(wxCmdLineParser& parser)
             return FALSE;
         }
 
-        if ( !SetDisplayMode(wxDisplayModeInfo(w, h, bpp)) )
+        if ( !SetDisplayMode(wxVideoMode(w, h, bpp)) )
             return FALSE;
     }
 #endif // __WXMGL__