]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/notebmac.cpp
const ptr fix
[wxWidgets.git] / src / mac / notebmac.cpp
index 150fe2e87b8cc88770eca6886caafa4822fee3ca..6fd2eca381229378027b627ff1ee570941a11413 100644 (file)
@@ -450,7 +450,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
-            wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
+            const wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
             if ( bmap )
             {
                 wxBitmap scaledBitmap ;