]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
Fixed typo and increased the size of the cache used by DoGetPartialTextExtents
[wxWidgets.git] / samples / notebook / notebook.cpp
index 5e0d05be50a008448f98f213712704386554376a..7c9ac1d0be3c6ac41de26a05f3c7b8e384fedcf3 100644 (file)
@@ -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;