Fixed compilation of various notebook.cpp's.
Make use of HasImageList() and GetImageList() instead of accessing the now private m_imageList directly. Fixed for wxUniv, wxGTK1, and wxOS2 (the latter 2 blindly). Changes are similar to r68856 and should have been a part of that. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,7 +73,6 @@ END_EVENT_TABLE()
|
||||
//
|
||||
void wxNotebook::Init()
|
||||
{
|
||||
m_imageList = NULL;
|
||||
m_nTabSize = 0;
|
||||
} // end of wxNotebook::Init
|
||||
|
||||
@@ -325,7 +324,7 @@ bool wxNotebook::SetPageImage (
|
||||
, int nImage
|
||||
)
|
||||
{
|
||||
wxBitmap vBitmap = (wxBitmap)m_imageList->GetBitmap(nImage);
|
||||
wxBitmap vBitmap = (wxBitmap)GetImageList()->GetBitmap(nImage);
|
||||
|
||||
return (bool)::WinSendMsg( GetHWND()
|
||||
,BKM_SETTABBITMAP
|
||||
|
Reference in New Issue
Block a user