]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/notebook.cpp
some wxArtProv docs
[wxWidgets.git] / src / gtk / notebook.cpp
index 7976e5cd15174dd4951c03e2d0c1f0c3368e8e23..9d70d97f45a1fe19836d2cc507d2eae0b9f23418 100644 (file)
@@ -21,9 +21,9 @@
 #include "wx/intl.h"
 #include "wx/log.h"
 
-#include <gdk/gdk.h>
-#include <gtk/gtk.h>
+#include "wx/gtk/private.h"
 #include "wx/gtk/win_gtk.h"
+
 #include <gdk/gdkkeysyms.h>
 
 // ----------------------------------------------------------------------------
@@ -686,7 +686,7 @@ void wxNotebook::ApplyWidgetStyle()
 bool wxNotebook::IsOwnGtkWindow( GdkWindow *window )
 {
     return ((m_widget->window == window) ||
-            (GTK_NOTEBOOK(m_widget)->panel == window));
+            (NOTEBOOK_PANEL(m_widget) == window));
 }
 
 //-----------------------------------------------------------------------------