use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,7 +51,7 @@ class MyCanvas;
|
||||
class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit();
|
||||
bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
class MyFrame : public wxMDIParentFrame
|
||||
@@ -104,7 +104,7 @@ class MyCanvas : public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
MyCanvas(MyChild *parent, const wxPoint& pos, const wxSize& size);
|
||||
virtual void OnDraw(wxDC& dc);
|
||||
virtual void OnDraw(wxDC& dc) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
int m_index;
|
||||
|
Reference in New Issue
Block a user