From 5696ebb3755e246bcba78ddbef798a07e2cf4141 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Fri, 10 Jun 2005 09:30:42 +0000 Subject: [PATCH] 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 --- src/gtk/bitmap.cpp | 2 +- src/gtk1/bitmap.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2