]> 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 7c2c675a795a5ea95922ba4f10fb0604a551ea86..bd4abefa09942aebc5b98c12e3b88acc08c4c1f1 100644 (file)
@@ -17,6 +17,7 @@
     #include "wx/dcmemory.h"
     #include "wx/palette.h"
     #include "wx/icon.h"
+    #include "wx/math.h"
 #endif // WX_PRECOMP
 
 #include "wx/filefn.h"
@@ -28,8 +29,6 @@
 
 #include <gdk/gdkrgb.h>
 
-#include "wx/math.h"
-
 extern
 void gdk_wx_draw_bitmap (GdkDrawable  *drawable,
                          GdkGC        *gc,