more use of wxOVERRIDE
This commit is contained in:
@@ -35,16 +35,16 @@ public:
|
||||
long style = 0,
|
||||
const wxString& name = wxStaticBitmapNameStr);
|
||||
|
||||
virtual void SetBitmap(const wxBitmap& bitmap)
|
||||
virtual void SetBitmap(const wxBitmap& bitmap) wxOVERRIDE
|
||||
{
|
||||
m_bitmap = bitmap;
|
||||
SetInitialSize(GetBitmapSize());
|
||||
Refresh();
|
||||
}
|
||||
|
||||
virtual wxBitmap GetBitmap() const { return m_bitmap; }
|
||||
virtual wxBitmap GetBitmap() const wxOVERRIDE { return m_bitmap; }
|
||||
|
||||
virtual void SetIcon(const wxIcon& icon)
|
||||
virtual void SetIcon(const wxIcon& icon) wxOVERRIDE
|
||||
{
|
||||
m_bitmap.CopyFromIcon(icon);
|
||||
SetInitialSize(GetBitmapSize());
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
#if defined(__WXGTK20__) || defined(__WXMAC__)
|
||||
// icons and bitmaps are really the same thing in wxGTK and wxMac
|
||||
wxIcon GetIcon() const { return (const wxIcon &)m_bitmap; }
|
||||
wxIcon GetIcon() const wxOVERRIDE { return (const wxIcon &)m_bitmap; }
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user