const ptr fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -450,7 +450,7 @@ void wxNotebook::MacSetupTabs()
|
|||||||
// afterwards Unregister it (IconRef is ref counted, so it will stay on the tab even if we
|
// 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
|
// unregister it) in case this will ever lead to having the same icon everywhere add some kind
|
||||||
// of static counter
|
// of static counter
|
||||||
wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
|
const wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
|
||||||
if ( bmap )
|
if ( bmap )
|
||||||
{
|
{
|
||||||
wxBitmap scaledBitmap ;
|
wxBitmap scaledBitmap ;
|
||||||
|
@@ -450,7 +450,7 @@ void wxNotebook::MacSetupTabs()
|
|||||||
// afterwards Unregister it (IconRef is ref counted, so it will stay on the tab even if we
|
// 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
|
// unregister it) in case this will ever lead to having the same icon everywhere add some kind
|
||||||
// of static counter
|
// of static counter
|
||||||
wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
|
const wxBitmap* bmap = GetImageList()->GetBitmap( GetPageImage(ii ) ) ;
|
||||||
if ( bmap )
|
if ( bmap )
|
||||||
{
|
{
|
||||||
wxBitmap scaledBitmap ;
|
wxBitmap scaledBitmap ;
|
||||||
|
Reference in New Issue
Block a user