From: Stefan Neis Date: Sat, 3 Apr 2004 16:09:05 +0000 (+0000) Subject: Avoid core dumps when SetImageList is used. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ab5ebf521fca1ddff1de556db7c53b25b501cdeb?ds=inline Avoid core dumps when SetImageList is used. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index f79c9f0c29..a8e9ea80b4 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -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 // ----------------------------------------------------------------------------