return (const wxIcon &)m_bitmap;
}
+ // for compatibility with wxMSW
+ void SetIcon(const wxIcon& icon)
+ {
+ SetBitmap( icon );
+ }
+
+protected:
+ virtual wxSize DoGetBestSize() const;
+
private:
+ // creates the new pixmap widget
+ void CreatePixmapWidget();
+
wxBitmap m_bitmap;
};