use wxOVERRIDE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-03-30 00:02:23 +00:00
parent ddd7ce624a
commit 8b4ae731d3
460 changed files with 4103 additions and 4107 deletions

View File

@@ -53,7 +53,7 @@
class MyApp: public wxApp
{
public:
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// ----------------------------------------------------------------------------
@@ -176,7 +176,7 @@ public:
wxALIGN_CENTER)
{ }
virtual bool Render( wxRect rect, wxDC *dc, int state )
virtual bool Render( wxRect rect, wxDC *dc, int state ) wxOVERRIDE
{
dc->SetBrush( *wxLIGHT_GREY_BRUSH );
dc->SetPen( *wxTRANSPARENT_PEN );
@@ -196,7 +196,7 @@ public:
wxDataViewModel *WXUNUSED(model),
const wxDataViewItem &WXUNUSED(item),
unsigned int WXUNUSED(col),
const wxMouseEvent *mouseEvent)
const wxMouseEvent *mouseEvent) wxOVERRIDE
{
wxString position;
if ( mouseEvent )
@@ -207,18 +207,18 @@ public:
return false;
}
virtual wxSize GetSize() const
virtual wxSize GetSize() const wxOVERRIDE
{
return wxSize(60,20);
}
virtual bool SetValue( const wxVariant &value )
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE
{
m_value = value.GetString();
return true;
}
virtual bool GetValue( wxVariant &WXUNUSED(value) ) const { return true; }
virtual bool GetValue( wxVariant &WXUNUSED(value) ) const wxOVERRIDE { return true; }
private:
wxString m_value;