#include "wx/defs.h"
#include "wx/object.h"
#include "wx/string.h"
-#include "wx/palette.h"
#include "wx/gdiobj.h"
+#include "wx/gdicmn.h" // for wxBitmapType
-class WXDLLEXPORT wxImage;
-class WXDLLEXPORT wxMask;
class WXDLLEXPORT wxBitmap;
class WXDLLEXPORT wxBitmapHandler;
+class WXDLLEXPORT wxImage;
+class WXDLLEXPORT wxMask;
+class WXDLLEXPORT wxPalette;
+
+#if defined(__WXMGL__) || defined(__WXMAC__)
+// Only used by some ports
+// FIXME -- make all ports (but MSW which uses wxGDIImage) use these base classes
// ----------------------------------------------------------------------------
// wxBitmapHandler: class which knows how to create/load/save bitmaps in
DECLARE_ABSTRACT_CLASS(wxBitmapHandlerBase)
};
-
-
class WXDLLEXPORT wxBitmapBase : public wxGDIObject
{
public:
DECLARE_ABSTRACT_CLASS(wxBitmapBase)
};
-
-
+#endif
#if defined(__WXMSW__)
#include "wx/msw/bitmap.h"