Add common implementations of wxStaticBitmap icon methods
Instead of defining them, slightly differently, in all the non-MSW ports, define them once in wxStaticBitmapBase. No real changes, this is just a simplification.
This commit is contained in:
@@ -53,11 +53,8 @@ public:
|
||||
const wxString& name = wxASCII_STR(wxStaticBitmapNameStr));
|
||||
|
||||
virtual void SetBitmap(const wxBitmap& bitmap) wxOVERRIDE;
|
||||
virtual void SetIcon(const wxIcon& icon) wxOVERRIDE;
|
||||
virtual wxBitmap GetBitmap() const wxOVERRIDE { return m_bitmap; }
|
||||
|
||||
wxIcon GetIcon() const wxOVERRIDE;
|
||||
|
||||
virtual bool HasTransparentBackground() wxOVERRIDE { return true; }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user