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:
Vadim Zeitlin
2005-12-19 13:56:23 +00:00
parent 333c869716
commit a44fb285c5
3 changed files with 41 additions and 11 deletions

View File

@@ -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: