]> git.saurik.com Git - wxWidgets.git/commitdiff
Avoid core dumps when SetImageList is used.
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 3 Apr 2004 16:09:05 +0000 (16:09 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 3 Apr 2004 16:09:05 +0000 (16:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/notebook.cpp

index f79c9f0c29eeb4f7229b42615b1f3e3e72855f11..a8e9ea80b4ee68c2413c313ee30ce42236d0552d 100644 (file)
@@ -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
 
 // ----------------------------------------------------------------------------