]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
Preserve previous state of sizers.
[wxWidgets.git] / src / os2 / notebook.cpp
index f79c9f0c29eeb4f7229b42615b1f3e3e72855f11..ed3db1a2bc9a33dc9cc3099db977ba27e0f4ab92 100644 (file)
@@ -14,7 +14,7 @@
 
 #if wxUSE_NOTEBOOK
 
-// wxWindows
+// wxWidgets
 #ifndef WX_PRECOMP
   #include "wx/app.h"
   #include "wx/dcclient.h"
@@ -329,12 +329,14 @@ bool wxNotebook::SetPageImage (
 } // end of wxNotebook::SetPageImage
 
 void wxNotebook::SetImageList (
-  wxImageList*                      WXUNUSED(pImageList)
+  wxImageList*                      pImageList
 )
 {
-    //
-    // Does nothing under OS/2
-    //
+    // 
+    // Does not really do anything yet, but at least we need to
+    // update the base class.
+    // 
+    wxNotebookBase::SetImageList(pImageList);
 } // end of wxNotebook::SetImageList
 
 // ----------------------------------------------------------------------------