]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bitmap.cpp
Don't complain under MicroWindows if a wxDC's HDC is NULL - it happens
[wxWidgets.git] / src / gtk / bitmap.cpp
index f0ad2fe56bb98c900c7fc78f7c7f9c92e44c45b0..30fa4db6fa2b16f123c99721c7bebd1af6c6673e 100644 (file)
@@ -11,6 +11,9 @@
 #pragma implementation "bitmap.h"
 #endif
 
+#include "wx/defs.h"
+
+#include "wx/palette.h"
 #include "wx/bitmap.h"
 #include "wx/icon.h"
 #include "wx/filefn.h"
@@ -324,7 +327,6 @@ bool wxBitmap::CreateFromXpm( const char **bits )
     return TRUE;
 }
 
-
 bool wxBitmap::CreateFromImage( const wxImage& image, int depth )
 {
     wxCHECK_MSG( image.Ok(), FALSE, wxT("invalid image") )