+ virtual wxObjectRefData *CreateRefData() const;
+ virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+
+private:
+ // to be called from CreateFromImage only!
+ bool CreateFromImageAsBitmap(const wxImage& image);
+ bool CreateFromImageAsPixmap(const wxImage& image);
+
+ friend class wxBitmapHandler;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxBitmap)
+};
+
+//-----------------------------------------------------------------------------
+// wxBitmapHandler
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxBitmapHandler: public wxBitmapHandlerBase
+{
+ DECLARE_ABSTRACT_CLASS(wxBitmapHandler)