]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/display.cpp
Query value from the model column given by col->GetModelColumn()
[wxWidgets.git] / src / mac / carbon / display.cpp
index 99c51f04cee4674751ffda789748365246b9f302..d8159cb3523d027ccfc0d2cf036a7dd114c39868 100644 (file)
@@ -229,10 +229,10 @@ bool wxDisplayImplMacOSX::ChangeMode( const wxVideoMode& mode )
     boolean_t bExactMatch;
     CFDictionaryRef theCGMode = CGDisplayBestModeForParametersAndRefreshRate(
         m_id,
-        (size_t)mode.bpp,
-        (size_t)mode.w,
-        (size_t)mode.h,
-        (double)mode.refresh,
+        (size_t)mode.GetDepth(),
+        (size_t)mode.GetWidth(),
+        (size_t)mode.GetHeight(),
+        (double)mode.GetRefresh(),
         &bExactMatch );
 
     bool bOK = bExactMatch;