#include "wx/object.h"
#include "wx/string.h"
#include "wx/gdicmn.h"
-#include "wx/bitmap.h"
+#if WXWIN_COMPATIBILITY_2_2
+# include "wx/bitmap.h"
+#endif
#include "wx/hashmap.h"
#if wxUSE_STREAMS
class WXDLLEXPORT wxImageHandler;
class WXDLLEXPORT wxImage;
+class WXDLLEXPORT wxPalette;
//-----------------------------------------------------------------------------
// wxImageHandler
WX_DECLARE_EXPORTED_HASH_MAP(unsigned long, wxImageHistogramEntry,
wxIntegerHash, wxIntegerEqual,
- wxImageHistogram)
+ wxImageHistogram);
//-----------------------------------------------------------------------------
// wxImage
#if WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI
// conversion to/from wxBitmap (deprecated, use wxBitmap's methods instead):
- wxImage( const wxBitmap &bitmap );
- wxBitmap ConvertToBitmap() const;
+ wxDEPRECATED( wxImage(const wxBitmap &bitmap) );
+ wxDEPRECATED( wxBitmap ConvertToBitmap() const );
#ifdef __WXGTK__
wxBitmap ConvertToMonoBitmap( unsigned char red, unsigned char green, unsigned char blue ) const;
#endif