From 1688bb3899626849d8b9deb34a16085d9a11e88e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 24 Feb 2005 14:09:39 +0000 Subject: [PATCH] add version checks instead of symbol checks, so that CW builds do not complain on 10.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dccg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/dccg.cpp b/src/mac/carbon/dccg.cpp index 305e53b1e8..22cecc954b 100755 --- a/src/mac/carbon/dccg.cpp +++ b/src/mac/carbon/dccg.cpp @@ -1686,7 +1686,7 @@ void wxDC::Clear(void) { wxFAIL_MSG( wxT("There shouldn't be theme backgrounds under Quartz") ) ; #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3 - if ( HIThemeDrawBackground != 0 ) + if ( UMAGetSystemVersion() >= 0x1030 ) { HIThemeBackgroundDrawInfo drawInfo ; drawInfo.version = 0 ; -- 2.47.2