From 69efd83d47fb946b7e1df6b0c6ffa23f3f29d24e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 9 Sep 2003 16:46:26 +0000 Subject: [PATCH] const ptr fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/notebmac.cpp | 2 +- src/mac/notebmac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index 150fe2e87b..6fd2eca381 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -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 ; diff --git a/src/mac/notebmac.cpp b/src/mac/notebmac.cpp index 150fe2e87b..6fd2eca381 100644 --- a/src/mac/notebmac.cpp +++ b/src/mac/notebmac.cpp @@ -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 ; -- 2.49.0