Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept
Don't use deprecated macros in wxWidgets itself.
This commit is contained in:
parent
be5095acdd
commit
88d526660f
1282 changed files with 11878 additions and 11878 deletions
|
|
@ -1010,17 +1010,17 @@ void MyTreeCtrl::CreateImages(int size)
|
|||
{
|
||||
}
|
||||
|
||||
wxSize GetDefaultSize() const wxOVERRIDE
|
||||
wxSize GetDefaultSize() const override
|
||||
{
|
||||
return m_sizeDef;
|
||||
}
|
||||
|
||||
wxSize GetPreferredBitmapSizeAtScale(double scale) const wxOVERRIDE
|
||||
wxSize GetPreferredBitmapSizeAtScale(double scale) const override
|
||||
{
|
||||
return m_sizeDef*scale;
|
||||
}
|
||||
|
||||
wxBitmap GetBitmap(const wxSize& size) wxOVERRIDE
|
||||
wxBitmap GetBitmap(const wxSize& size) override
|
||||
{
|
||||
wxBitmap bmp(m_icon);
|
||||
if ( size != bmp.GetSize() )
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class MyApp : public wxApp
|
|||
public:
|
||||
MyApp() { m_showImages = true; m_showStates = true; m_showButtons = false; }
|
||||
|
||||
bool OnInit() wxOVERRIDE;
|
||||
bool OnInit() override;
|
||||
|
||||
void SetShowImages(bool show) { m_showImages = show; }
|
||||
bool ShowImages() const { return m_showImages; }
|
||||
|
|
@ -142,7 +142,7 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
virtual int OnCompareItems(const wxTreeItemId& i1, const wxTreeItemId& i2) wxOVERRIDE;
|
||||
virtual int OnCompareItems(const wxTreeItemId& i1, const wxTreeItemId& i2) override;
|
||||
|
||||
// is this the test item which we use in several event handlers?
|
||||
bool IsTestItem(const wxTreeItemId& item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue