Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept
Don't use deprecated macros in wxWidgets itself.
This commit is contained in:
parent
be5095acdd
commit
88d526660f
1282 changed files with 11878 additions and 11878 deletions
|
|
@ -50,7 +50,7 @@ namespace
|
|||
m_operateOn(operateOn), m_testType(testType) {}
|
||||
|
||||
// thread execution starts here
|
||||
virtual void *Entry() wxOVERRIDE;
|
||||
virtual void *Entry() override;
|
||||
|
||||
public:
|
||||
wxAtomicInt &m_operateOn;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public:
|
|||
{ m_n = n; Create(); }
|
||||
|
||||
// thread execution starts here
|
||||
virtual ExitCode Entry() wxOVERRIDE;
|
||||
virtual ExitCode Entry() override;
|
||||
|
||||
private:
|
||||
size_t m_n;
|
||||
|
|
@ -67,10 +67,10 @@ public:
|
|||
}
|
||||
|
||||
// thread execution starts here
|
||||
virtual ExitCode Entry() wxOVERRIDE;
|
||||
virtual ExitCode Entry() override;
|
||||
|
||||
// and stops here
|
||||
virtual void OnExit() wxOVERRIDE;
|
||||
virtual void OnExit() override;
|
||||
|
||||
private:
|
||||
size_t m_n; // number of characters to write
|
||||
|
|
@ -127,7 +127,7 @@ public:
|
|||
Create();
|
||||
}
|
||||
|
||||
virtual ExitCode Entry() wxOVERRIDE
|
||||
virtual ExitCode Entry() override
|
||||
{
|
||||
//wxPrintf(wxT("Thread %lu has started running.\n"), GetId());
|
||||
gs_cond.Post();
|
||||
|
|
@ -162,7 +162,7 @@ public:
|
|||
Create();
|
||||
}
|
||||
|
||||
virtual ExitCode Entry() wxOVERRIDE
|
||||
virtual ExitCode Entry() override
|
||||
{
|
||||
wxUnusedVar(m_i);
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ private:
|
|||
{}
|
||||
|
||||
// thread execution starts here
|
||||
virtual void *Entry() wxOVERRIDE;
|
||||
virtual void *Entry() override;
|
||||
|
||||
// Thread message queue
|
||||
Queue& GetQueue()
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public:
|
|||
// ctor both creates and starts the thread
|
||||
TLSTestThread() : wxThread(wxTHREAD_JOINABLE) { Create(); Run(); }
|
||||
|
||||
virtual void *Entry() wxOVERRIDE
|
||||
virtual void *Entry() override
|
||||
{
|
||||
gs_threadInt = 17;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue