use more wxOVERRIDE (#329)
This commit is contained in:
@@ -29,7 +29,7 @@ public:
|
||||
virtual ~wxCustomBackgroundWindow() { delete m_backgroundBrush; }
|
||||
|
||||
protected:
|
||||
virtual void DoSetBackgroundBitmap(const wxBitmap& bmp)
|
||||
virtual void DoSetBackgroundBitmap(const wxBitmap& bmp) wxOVERRIDE
|
||||
{
|
||||
delete m_backgroundBrush;
|
||||
m_backgroundBrush = bmp.IsOk() ? new wxBrush(bmp) : NULL;
|
||||
@@ -41,7 +41,7 @@ protected:
|
||||
|| BaseWindowClass::UseBgCol();
|
||||
}
|
||||
|
||||
virtual WXHBRUSH MSWGetCustomBgBrush()
|
||||
virtual WXHBRUSH MSWGetCustomBgBrush() wxOVERRIDE
|
||||
{
|
||||
if ( m_backgroundBrush )
|
||||
return (WXHBRUSH)m_backgroundBrush->GetResourceHandle();
|
||||
|
Reference in New Issue
Block a user