X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f6420d83ad1f42a78813da64b04a15c5f2a9b2c..686631c6654edb1c06ed278d03e8ba88ef90b06e:/src/os2/notebook.cpp

diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp
index 299b848a96..f1c52e8ed4 100644
--- a/src/os2/notebook.cpp
+++ b/src/os2/notebook.cpp
@@ -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