]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / os2 / notebook.cpp
index 299b848a964302d341a269dca6b27d088833aa95..f1c52e8ed43da48455f6a198320c3e83f5212a3a 100644 (file)
@@ -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