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:
Vadim Zeitlin
2021-10-21 18:15:12 +01:00
parent 5773a8736c
commit b403624f22
11 changed files with 38 additions and 99 deletions

View File

@@ -30,10 +30,8 @@ public:
long style = 0,
const wxString& name = wxASCII_STR(wxStaticBitmapNameStr));
virtual void SetIcon(const wxIcon& icon) wxOVERRIDE;
virtual void SetBitmap(const wxBitmap& bitmap) wxOVERRIDE;
virtual wxBitmap GetBitmap() const wxOVERRIDE;
virtual wxIcon GetIcon() const wxOVERRIDE;
virtual QWidget *GetHandle() const wxOVERRIDE;
protected: