]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/notebmac.cpp
Don't call StartingKey if the key was F2
[wxWidgets.git] / src / mac / classic / notebmac.cpp
index a553ef66f1eca408eaa81748b181c8b6256cd497..b7664be30d70a7161e92025484fc2b3ae98fb1cf 100644 (file)
@@ -457,7 +457,7 @@ void wxNotebook::MacSetupTabs()
             // afterwards Unregister it (IconRef is ref counted, so it will stay on the tab even if we
             // unregister it) in case this will ever lead to having the same icon everywhere add some kind
             // of static counter
-            const wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
+            const wxBitmap* bmap = GetImageList()->GetBitmapPtr( GetPageImage(ii ) ) ;
             if ( bmap )
             {
                 wxBitmap scaledBitmap ;