]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/imaglist.cpp
Added implementation for wxGetKeyState and wxGetMouseState.
[wxWidgets.git] / src / generic / imaglist.cpp
index 70e0ee492ef69e6c7f8bfd5387d5dfe7e1814814..4fbf79d9df726de15425241b44e9bca2cf7c533c 100644 (file)
 
 #include "wx/generic/imaglist.h"
 
-#include "wx/icon.h"
-#include "wx/image.h"
-#include "wx/dc.h"
+#ifndef WX_PRECOMP
+    #include "wx/dc.h"
+    #include "wx/icon.h"
+    #include "wx/image.h"
+#endif
 
 //-----------------------------------------------------------------------------
 //  wxImageList
@@ -217,7 +219,7 @@ bool wxGenericImageList::Replace( int index, const wxBitmap &bitmap, const wxBit
         m_images.Erase( node );
         m_images.Insert( next, newBitmap );
     }
-    
+
     if (mask.Ok())
         newBitmap->SetMask(new wxMask(mask));
 
@@ -277,5 +279,6 @@ bool wxGenericImageList::Draw( int index, wxDC &dc, int x, int y,
     return true;
 }
 
-#endif // wxUSE_IMAGLIST
 #endif // __WXPALMOS__
+
+#endif // wxUSE_IMAGLIST