]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
fixed wxTaskBarIcon compilation
[wxWidgets.git] / src / common / appcmn.cpp
index 49c21fe4693de9d9a9eb7c003f9c412f90ddbbfa..ce42b0dd1fff6c405027dc07630e39fb3565114a 100644 (file)
@@ -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