From bff76efd88fff3783bcaf2ef989afa21c61f9d04 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 6 Apr 2008 23:28:14 +0000 Subject: [PATCH] compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/display.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mac/carbon/display.cpp b/src/mac/carbon/display.cpp index 99c51f04ce..d8159cb352 100644 --- a/src/mac/carbon/display.cpp +++ b/src/mac/carbon/display.cpp @@ -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; -- 2.47.2