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
This commit is contained in:
Stefan Csomor 2005-02-24 14:09:39 +00:00
parent 91ae6e3a94
commit 1688bb3899

View File

@ -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 ;