use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ class VarScrollApp : public wxApp
|
||||
{
|
||||
public:
|
||||
// create our main window
|
||||
virtual bool OnInit();
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
// Define a new frame type: this is going to be our main frame
|
||||
@@ -170,7 +170,7 @@ public:
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
virtual wxCoord OnGetRowHeight(size_t n) const
|
||||
virtual wxCoord OnGetRowHeight(size_t n) const wxOVERRIDE
|
||||
{
|
||||
wxASSERT( n < GetRowCount() );
|
||||
|
||||
@@ -267,7 +267,7 @@ public:
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
virtual wxCoord OnGetColumnWidth(size_t n) const
|
||||
virtual wxCoord OnGetColumnWidth(size_t n) const wxOVERRIDE
|
||||
{
|
||||
wxASSERT( n < GetColumnCount() );
|
||||
|
||||
@@ -388,14 +388,14 @@ public:
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
virtual wxCoord OnGetRowHeight(size_t n) const
|
||||
virtual wxCoord OnGetRowHeight(size_t n) const wxOVERRIDE
|
||||
{
|
||||
wxASSERT( n < GetRowCount() );
|
||||
|
||||
return m_heights[n];
|
||||
}
|
||||
|
||||
virtual wxCoord OnGetColumnWidth(size_t n) const
|
||||
virtual wxCoord OnGetColumnWidth(size_t n) const wxOVERRIDE
|
||||
{
|
||||
wxASSERT( n < GetColumnCount() );
|
||||
|
||||
|
Reference in New Issue
Block a user