+ 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;
+