]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/bitmap.cpp
fix for potention crash when conversion fails
[wxWidgets.git] / src / gtk1 / bitmap.cpp
index 492e8751bb0186f950a96d90dcd6f6e72a6cf0c0..bd4abefa09942aebc5b98c12e3b88acc08c4c1f1 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/dcmemory.h"
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/dcmemory.h"
+    #include "wx/palette.h"
+    #include "wx/icon.h"
+    #include "wx/math.h"
 #endif // WX_PRECOMP
 
 #endif // WX_PRECOMP
 
-#include "wx/palette.h"
-#include "wx/icon.h"
 #include "wx/filefn.h"
 #include "wx/image.h"
 
 #include "wx/filefn.h"
 #include "wx/image.h"
 
@@ -28,8 +29,6 @@
 
 #include <gdk/gdkrgb.h>
 
 
 #include <gdk/gdkrgb.h>
 
-#include "wx/math.h"
-
 extern
 void gdk_wx_draw_bitmap (GdkDrawable  *drawable,
                          GdkGC        *gc,
 extern
 void gdk_wx_draw_bitmap (GdkDrawable  *drawable,
                          GdkGC        *gc,