X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fa72bd2a637cee761c56e2ce61cec3e43c62765..34c1f23146462e75f41e26c84709348b7cf42761:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index edbe25ce67..e0bb675723 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -441,7 +441,7 @@ bool wxNotebook::SetPageText( size_t page, const wxString &text ) nb_page->m_text = text; - gtk_label_set( nb_page->m_label, wxGTK_CONV( nb_page->m_text ) ); + gtk_label_set_text( nb_page->m_label, wxGTK_CONV( nb_page->m_text ) ); return TRUE; } @@ -830,7 +830,7 @@ void wxNotebook::DoApplyWidgetStyle(GtkRcStyle *style) bool wxNotebook::IsOwnGtkWindow( GdkWindow *window ) { return ((m_widget->window == window) || - (NOTEBOOK_PANEL(m_widget) == window)); + GTK_NOTEBOOK(m_widget)->event_window == window); } // static