documented Set/GetIcon(), added (not quite pure) virtual GetIcon() in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,12 +49,8 @@ public:
|
||||
|
||||
virtual void SetIcon(const wxIcon& icon) { SetImage(&icon); }
|
||||
virtual void SetBitmap(const wxBitmap& bitmap) { SetImage(&bitmap); }
|
||||
|
||||
// can always be used, whether we have a bitmap or an icon in reality
|
||||
wxBitmap GetBitmap() const;
|
||||
|
||||
// can only be used if an icon had been originally used
|
||||
wxIcon GetIcon() const;
|
||||
virtual wxBitmap GetBitmap() const;
|
||||
virtual wxIcon GetIcon() const;
|
||||
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user