]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/notebook.cpp
remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhe...
[wxWidgets.git] / src / gtk / notebook.cpp
index 13bc0dae9dedf3d882042f50004faba93a25c5c6..1ace65dc16c324c8db6170b867231dc3b9447732 100644 (file)
@@ -422,7 +422,7 @@ bool wxNotebook::InsertPage( size_t position,
     gtk_notebook_insert_page(notebook, win->m_widget, pageData->m_box, position);
 
     /* apply current style */
     gtk_notebook_insert_page(notebook, win->m_widget, pageData->m_box, position);
 
     /* apply current style */
-    GtkRcStyle *style = CreateWidgetStyle();
+    GtkRcStyle *style = GTKCreateWidgetStyle();
     if ( style )
     {
         gtk_widget_modify_style(pageData->m_label, style);
     if ( style )
     {
         gtk_widget_modify_style(pageData->m_label, style);