From: Paul Cornett Date: Tue, 25 Oct 2011 05:12:14 +0000 (+0000) Subject: avoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fa232222536c7623aae546dad601a7ddb52e3abc avoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not mapped" whatever problem this hack was supposed to solve, this was not the way to fix it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 9cf75ee56b..f2e48a5e05 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -352,8 +352,6 @@ wxNotebookPage *wxNotebook::DoRemovePage( size_t page ) if ( !client ) return NULL; - gtk_widget_unrealize( client->m_widget ); - // we don't need to unparent the client->m_widget; GTK+ will do // that for us (and will throw a warning if we do it!) gtk_notebook_remove_page( GTK_NOTEBOOK(m_widget), page );