use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
void setFailed() { m_isFailed = true; }
|
||||
bool isFailed() const { return m_isFailed; }
|
||||
|
||||
virtual wxEvent* Clone() const
|
||||
virtual wxEvent* Clone() const wxOVERRIDE
|
||||
{
|
||||
return new WorkerEvent(*this);
|
||||
}
|
||||
@@ -94,11 +94,11 @@ private:
|
||||
wxString m_host;
|
||||
long m_stressWorkers;
|
||||
|
||||
virtual bool OnInit();
|
||||
virtual int OnRun();
|
||||
virtual int OnExit();
|
||||
void OnInitCmdLine(wxCmdLineParser& pParser);
|
||||
bool OnCmdLineParsed(wxCmdLineParser& pParser);
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
virtual int OnRun() wxOVERRIDE;
|
||||
virtual int OnExit() wxOVERRIDE;
|
||||
void OnInitCmdLine(wxCmdLineParser& pParser) wxOVERRIDE;
|
||||
bool OnCmdLineParsed(wxCmdLineParser& pParser) wxOVERRIDE;
|
||||
void OnWorkerEvent(WorkerEvent& pEvent);
|
||||
void OnTimerEvent(wxTimerEvent& pEvent);
|
||||
|
||||
@@ -127,7 +127,7 @@ class ThreadWorker : public wxThread
|
||||
{
|
||||
public:
|
||||
ThreadWorker(const wxString& p_host, char* p_buf, int p_size);
|
||||
virtual ExitCode Entry();
|
||||
virtual ExitCode Entry() wxOVERRIDE;
|
||||
private:
|
||||
wxString m_host;
|
||||
wxSocketClient* m_clientSocket;
|
||||
|
@@ -78,7 +78,7 @@ public:
|
||||
m_workerFailed = false;
|
||||
}
|
||||
|
||||
virtual wxEvent* Clone() const
|
||||
virtual wxEvent* Clone() const wxOVERRIDE
|
||||
{
|
||||
return new WorkerEvent(*this);
|
||||
}
|
||||
@@ -112,11 +112,11 @@ private:
|
||||
EVENTS
|
||||
};
|
||||
|
||||
virtual bool OnInit();
|
||||
virtual int OnExit();
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
virtual int OnExit() wxOVERRIDE;
|
||||
|
||||
void OnInitCmdLine(wxCmdLineParser& pParser);
|
||||
bool OnCmdLineParsed(wxCmdLineParser& pParser);
|
||||
void OnInitCmdLine(wxCmdLineParser& pParser) wxOVERRIDE;
|
||||
bool OnCmdLineParsed(wxCmdLineParser& pParser) wxOVERRIDE;
|
||||
|
||||
void OnSocketEvent(wxSocketEvent& pEvent);
|
||||
void OnWorkerEvent(WorkerEvent& pEvent);
|
||||
@@ -168,7 +168,7 @@ class ThreadWorker : public wxThread, private WorkerBase
|
||||
{
|
||||
public:
|
||||
ThreadWorker(wxSocketBase* pSocket);
|
||||
virtual ExitCode Entry();
|
||||
virtual ExitCode Entry() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxSocketBase* m_socket;
|
||||
|
@@ -50,7 +50,7 @@
|
||||
class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
virtual bool OnInit();
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
// Define a new frame type: this is going to be our main frame
|
||||
|
@@ -56,7 +56,7 @@
|
||||
class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
virtual bool OnInit();
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
// Define a new frame type: this is going to be our main frame
|
||||
|
Reference in New Issue
Block a user