]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for broken wxGTK1 compilation
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 6 Apr 2011 08:47:45 +0000 (08:47 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 6 Apr 2011 08:47:45 +0000 (08:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/dockart.cpp

index e4e9d292b57a351fdcf31cb9aefef9dda903f41c..17f7083874f4585a9daace6e02fce1bf34a37c13 100644 (file)
 #ifdef __WXGTK__
 #include <gtk/gtk.h>
 #include "wx/renderer.h"
-#include "wx/gtk/private/gtk2-compat.h"
+#if GTK_CHECK_VERSION(2,0,0)
+   #include "wx/gtk/private/gtk2-compat.h"
+#else
+   #define gtk_widget_is_drawable GTK_WIDGET_DRAWABLE
+#endif
 #endif