]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagbmp.cpp
1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()
[wxWidgets.git] / src / common / imagbmp.cpp
index 102e48d8385cc79bf398d6de5c6780006a45dad6..9cf6d614f9a3dd2084d5204df4b5499179be0c1c 100644 (file)
 
 #if wxUSE_IMAGE
 
+#include "wx/imagbmp.h"
+
 #ifndef WX_PRECOMP
+    #ifdef __WXMSW__
+        #include "wx/msw/wrapwin.h"
+    #endif
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/bitmap.h"
+    #include "wx/palette.h"
+    #include "wx/intl.h"
 #endif
 
-#include "wx/imagbmp.h"
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
-#include "wx/intl.h"
-#include "wx/module.h"
 #include "wx/quantize.h"
 
 // For memcpy
 #endif
 #endif
 
-#ifdef __WXMSW__
-#include "wx/msw/wrapwin.h"
-#endif
-
 //-----------------------------------------------------------------------------
 // wxBMPHandler
 //-----------------------------------------------------------------------------
@@ -923,7 +923,7 @@ bool wxBMPHandler::LoadDib(wxImage *image, wxInputStream& stream,
                     verbose, IsBmp, true) )
     {
         if (verbose)
-            wxLogError( _("Error in reading image DIB .") );
+            wxLogError( _("Error in reading image DIB.") );
         return false;
     }