diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index 28c472572b..6bbf68cd47 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -23,9 +23,9 @@ #include "wx/image.h" #include "wx/dcmemory.h" #include "wx/app.h" -#include "wx/rawbmp.h" #ifdef __WXGTK20__ +#include "wx/rawbmp.h" // need this to get gdk_image_new_bitmap() #define GDK_ENABLE_BROKEN #endif diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index 28c472572b..6bbf68cd47 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -23,9 +23,9 @@ #include "wx/image.h" #include "wx/dcmemory.h" #include "wx/app.h" -#include "wx/rawbmp.h" #ifdef __WXGTK20__ +#include "wx/rawbmp.h" // need this to get gdk_image_new_bitmap() #define GDK_ENABLE_BROKEN #endif