]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/notebmac.cpp
Fix conversion error in tooltips.
[wxWidgets.git] / src / mac / notebmac.cpp
index a3d6ea740c2b51502b3d497aad1857eecad590c2..9aa4fdf5b96f001144107d8ee302e7826bfc7469 100644 (file)
@@ -79,7 +79,9 @@ static inline int wxMacTabMargin(long nbStyle, long side)
 #if wxMAC_EDGE_TO_EDGE
             otherMargin = 0;
 #else
-            otherMargin = 20;
+//            otherMargin = 20;
+            // JACS - this seems fine on 10.3; 20 is way too much
+            otherMargin = 8;
 #endif
         }
         else
@@ -474,7 +476,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 ) ;
                 }