]> git.saurik.com Git - wxWidgets.git/commitdiff
compilo
authorRobert Roebling <robert@roebling.de>
Sun, 6 Apr 2008 23:28:14 +0000 (23:28 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 6 Apr 2008 23:28:14 +0000 (23:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;