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

@@ -27,7 +27,7 @@ public:
MyCanvas(wxView *view, wxWindow *parent = NULL);
virtual ~MyCanvas();
virtual void OnDraw(wxDC& dc);
virtual void OnDraw(wxDC& dc) wxOVERRIDE;
// in a normal multiple document application a canvas is associated with
// one view from the beginning until the end, but to support the single
@@ -68,10 +68,10 @@ class DrawingView : public wxView
public:
DrawingView() : wxView(), m_canvas(NULL) {}
virtual bool OnCreate(wxDocument *doc, long flags);
virtual void OnDraw(wxDC *dc);
virtual void OnUpdate(wxView *sender, wxObject *hint = NULL);
virtual bool OnClose(bool deleteWindow = true);
virtual bool OnCreate(wxDocument *doc, long flags) wxOVERRIDE;
virtual void OnDraw(wxDC *dc) wxOVERRIDE;
virtual void OnUpdate(wxView *sender, wxObject *hint = NULL) wxOVERRIDE;
virtual bool OnClose(bool deleteWindow = true) wxOVERRIDE;
DrawingDocument* GetDocument();
@@ -94,9 +94,9 @@ class TextEditView : public wxView
public:
TextEditView() : wxView(), m_text(NULL) {}
virtual bool OnCreate(wxDocument *doc, long flags);
virtual void OnDraw(wxDC *dc);
virtual bool OnClose(bool deleteWindow = true);
virtual bool OnCreate(wxDocument *doc, long flags) wxOVERRIDE;
virtual void OnDraw(wxDC *dc) wxOVERRIDE;
virtual bool OnClose(bool deleteWindow = true) wxOVERRIDE;
wxTextCtrl *GetText() const { return m_text; }
@@ -120,7 +120,7 @@ class ImageCanvas : public wxScrolledWindow
public:
ImageCanvas(wxView*);
virtual void OnDraw(wxDC& dc);
virtual void OnDraw(wxDC& dc) wxOVERRIDE;
private:
wxView *m_view;
};
@@ -134,10 +134,10 @@ class ImageView : public wxView
public:
ImageView() : wxView() {}
virtual bool OnCreate(wxDocument*, long flags);
virtual void OnDraw(wxDC*);
virtual bool OnClose(bool deleteWindow = true);
virtual void OnUpdate(wxView *sender, wxObject *hint = NULL);
virtual bool OnCreate(wxDocument*, long flags) wxOVERRIDE;
virtual void OnDraw(wxDC*) wxOVERRIDE;
virtual bool OnClose(bool deleteWindow = true) wxOVERRIDE;
virtual void OnUpdate(wxView *sender, wxObject *hint = NULL) wxOVERRIDE;
ImageDocument* GetDocument();
@@ -156,8 +156,8 @@ class ImageDetailsView : public wxView
public:
ImageDetailsView(ImageDetailsDocument *doc);
virtual void OnDraw(wxDC *dc);
virtual bool OnClose(bool deleteWindow);
virtual void OnDraw(wxDC *dc) wxOVERRIDE;
virtual bool OnClose(bool deleteWindow) wxOVERRIDE;
private:
wxFrame *m_frame;