]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/notebook.cpp
removed datacmn, not a base file any more
[wxWidgets.git] / samples / widgets / notebook.cpp
index 6d6ea111654850f86269c048f566cdc410b1b0c4..8534da6d87032682f1496a9624eded560f794cc0 100644 (file)
@@ -397,7 +397,7 @@ void NotebookWidgetsPage::CreateNotebook()
                                 notebook->GetPageImage(n));
         }
 
-        m_sizerNotebook->Remove(notebook);
+        m_sizerNotebook->Detach( notebook );
         delete notebook;
 
         // restore selection