git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-04-06 23:28:14 +00:00
parent a39d750168
commit bff76efd88

View File

@@ -229,10 +229,10 @@ bool wxDisplayImplMacOSX::ChangeMode( const wxVideoMode& mode )
boolean_t bExactMatch; boolean_t bExactMatch;
CFDictionaryRef theCGMode = CGDisplayBestModeForParametersAndRefreshRate( CFDictionaryRef theCGMode = CGDisplayBestModeForParametersAndRefreshRate(
m_id, m_id,
(size_t)mode.bpp, (size_t)mode.GetDepth(),
(size_t)mode.w, (size_t)mode.GetWidth(),
(size_t)mode.h, (size_t)mode.GetHeight(),
(double)mode.refresh, (double)mode.GetRefresh(),
&bExactMatch ); &bExactMatch );
bool bOK = bExactMatch; bool bOK = bExactMatch;