X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86b8b3ac31b49ba93907c6088aac11ddb54f22bc..d5363c04ac7bfd5409b369746a67b83fd10cfdbc:/src/aui/dockart.cpp 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