]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected system condition for panther
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 14 Feb 2004 05:22:14 +0000 (05:22 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 14 Feb 2004 05:22:14 +0000 (05:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/notebmac.cpp
src/mac/notebmac.cpp

index a3d6ea740c2b51502b3d497aad1857eecad590c2..60a7af92a34dd15b821f9cf315ae88a0708f1751 100644 (file)
@@ -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 ) ;
                 }
index a3d6ea740c2b51502b3d497aad1857eecad590c2..60a7af92a34dd15b821f9cf315ae88a0708f1751 100644 (file)
@@ -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 ) ;
                 }