- DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
-
- public:
-
- wxStaticBitmap(void);
- wxStaticBitmap( wxWindow *parent, wxWindowID id, const wxBitmap& label,
- const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
- long style = 0, const wxString& name = wxStaticBitmapNameStr );
- bool Create( wxWindow *parent, wxWindowID id, const wxBitmap& label,
- const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
- long style = 0, const wxString& name = wxStaticBitmapNameStr);
+public:
+ wxStaticBitmap();
+ wxStaticBitmap( wxWindow *parent,
+ wxWindowID id,
+ const wxBitmap& label,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxStaticBitmapNameStr );
+ bool Create( wxWindow *parent,
+ wxWindowID id,
+ const wxBitmap& label,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxStaticBitmapNameStr);
+
+ virtual void SetIcon(const wxIcon& icon) { SetBitmap( icon ); }