]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bitmap.cpp
Make the app object be global in case it is run multiple times, such
[wxWidgets.git] / src / gtk / bitmap.cpp
index cb569d36472df747f90c01ec308f4b62c927b3f3..4a0e1111f1d74a6360a6e26b75056b13daa317a1 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/defs.h"
+#ifndef WX_PRECOMP
+    #include "wx/app.h"
+    #include "wx/dcmemory.h"
+#endif
 
 #include "wx/bitmap.h"
 #include "wx/palette.h"
 #include "wx/icon.h"
 #include "wx/filefn.h"
 #include "wx/image.h"
 
 #include "wx/bitmap.h"
 #include "wx/palette.h"
 #include "wx/icon.h"
 #include "wx/filefn.h"
 #include "wx/image.h"
-#include "wx/dcmemory.h"
-#include "wx/app.h"
 
 #include "wx/rawbmp.h"
     // need this to get gdk_image_new_bitmap()
 
 #include "wx/rawbmp.h"
     // need this to get gdk_image_new_bitmap()