From d8c5974799b29e0a0382ffca9c9db9377581bbd4 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 14 Feb 2004 05:22:14 +0000 Subject: [PATCH] corrected system condition for panther git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/notebmac.cpp | 2 +- src/mac/notebmac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index a3d6ea740c..60a7af92a3 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -474,7 +474,7 @@ void wxNotebook::MacSetupTabs() SetControlData( (ControlHandle) m_macControl, ii+1,kControlTabImageContentTag, sizeof( info ), (Ptr)&info ); wxASSERT_MSG( err == noErr , wxT("Error when setting icon on tab") ) ; - if ( UMAGetSystemVersion() <= 0x1030 ) + if ( UMAGetSystemVersion() < 0x1030 ) { UnregisterIconRef( 'WXNG' , (OSType) 1 ) ; } diff --git a/src/mac/notebmac.cpp b/src/mac/notebmac.cpp index a3d6ea740c..60a7af92a3 100644 --- a/src/mac/notebmac.cpp +++ b/src/mac/notebmac.cpp @@ -474,7 +474,7 @@ void wxNotebook::MacSetupTabs() SetControlData( (ControlHandle) m_macControl, ii+1,kControlTabImageContentTag, sizeof( info ), (Ptr)&info ); wxASSERT_MSG( err == noErr , wxT("Error when setting icon on tab") ) ; - if ( UMAGetSystemVersion() <= 0x1030 ) + if ( UMAGetSystemVersion() < 0x1030 ) { UnregisterIconRef( 'WXNG' , (OSType) 1 ) ; } -- 2.49.0