]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/notebmac.cpp
Added SetToolNormalBitmap and SetToolDisabledBitmap
[wxWidgets.git] / src / mac / carbon / notebmac.cpp
index 5861863c684cb06ca47472df442a520cadc51438..2aff7f536bec91cc4097873e4528be3dc9828217 100644 (file)
@@ -427,9 +427,13 @@ void wxNotebook::MacSetupTabs()
         m_peer->SetTabEnabled( ii + 1, true ) ;
     }
 
+#if wxMAC_USE_CORE_GRAPHICS
+    Refresh();
+#else
     Rect bounds;
     m_peer->GetRectInWindowCoords( &bounds ) ;
     InvalWindowRect( (WindowRef)MacGetTopLevelWindowRef(), &bounds );
+#endif
 }
 
 wxRect wxNotebook::GetPageRect() const