From: Włodzimierz Skiba Date: Tue, 13 Jul 2004 13:24:57 +0000 (+0000) Subject: Removal of deprecated methods. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/134155b159d1380ef4e14e56796cc7fa70661229?ds=inline Removal of deprecated methods. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 5e0d05be50..7c9ac1d0be 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -390,7 +390,7 @@ void MyFrame::ReInitNotebook() m_notebook->AddPage(page, str, false, m_notebook->GetIconIndex() ); } - m_sizerTop->Remove(notebook); + m_sizerTop->Detach(notebook); delete notebook;