use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user