]> git.saurik.com Git - wxWidgets.git/commitdiff
add version checks instead of symbol checks, so that CW builds do not complain on...
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 24 Feb 2005 14:09:39 +0000 (14:09 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 24 Feb 2005 14:09:39 +0000 (14:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dccg.cpp

index 305e53b1e8d2616986ecbbabfbe66a388a56a87f..22cecc954b023a537a705435d2c76c2665b98fee 100755 (executable)
@@ -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 ;