From a209e1a0117c0f51854d5f26eb4b58eaeed3bdc5 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 3 Apr 2004 16:09:05 +0000 Subject: [PATCH] Avoid core dumps when SetImageList is used. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/notebook.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index fe64de1281..959365dda2 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -343,12 +343,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 // ----------------------------------------------------------------------------