From 655e246b86923bf721f1725191140451a189ca0c Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Wed, 6 Apr 2011 08:47:45 +0000 Subject: [PATCH] Fix for broken wxGTK1 compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/dockart.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/aui/dockart.cpp b/src/aui/dockart.cpp index e4e9d292b5..17f7083874 100644 --- a/src/aui/dockart.cpp +++ b/src/aui/dockart.cpp @@ -43,7 +43,11 @@ #ifdef __WXGTK__ #include #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 -- 2.45.2