From: Stefan Neis Date: Fri, 10 Jun 2005 09:30:42 +0000 (+0000) Subject: Include rawbmp.h only for __WXGTK20__ (unneeded for GTK12 anyway and X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5696ebb3755e246bcba78ddbef798a07e2cf4141 Include rawbmp.h only for __WXGTK20__ (unneeded for GTK12 anyway and problematic for old compilers). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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