]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/display.cpp
Add GtkSortableIface stubs
[wxWidgets.git] / src / msw / display.cpp
index 1855c0c6a72343d939cea93aeb16b06165d04c0b..f5e9e84d51745766ad6e525376f4a203dfdd5b6c 100644 (file)
@@ -768,11 +768,11 @@ bool wxDisplayImplMultimon::ChangeMode(const wxVideoMode& mode)
     // do change the mode
     switch ( pfnChangeDisplaySettingsEx
              (
-                GetName(),      // display name
-                pDevMode,       // dev mode or NULL to reset
-                NULL,           // reserved
+                GetName().wx_str(), // display name
+                pDevMode,           // dev mode or NULL to reset
+                NULL,               // reserved
                 flags,
-                NULL            // pointer to video parameters (not used)
+                NULL                // pointer to video parameters (not used)
              ) )
     {
         case DISP_CHANGE_SUCCESSFUL: