More use of wxOVERRIDE
This commit is contained in:
@@ -25,22 +25,22 @@ public:
|
||||
|
||||
// sets the "should exit" flag and wakes up the loop so that it terminates
|
||||
// soon
|
||||
virtual void ScheduleExit(int rc = 0);
|
||||
virtual void ScheduleExit(int rc = 0) wxOVERRIDE;
|
||||
|
||||
// return true if any events are available
|
||||
virtual bool Pending() const;
|
||||
virtual bool Pending() const wxOVERRIDE;
|
||||
|
||||
// dispatch a single event, return false if we should exit from the loop
|
||||
virtual bool Dispatch();
|
||||
virtual bool Dispatch() wxOVERRIDE;
|
||||
|
||||
// same as Dispatch() but doesn't wait for longer than the specified (in
|
||||
// ms) timeout, return true if an event was processed, false if we should
|
||||
// exit the loop or -1 if timeout expired
|
||||
virtual int DispatchTimeout(unsigned long timeout);
|
||||
virtual int DispatchTimeout(unsigned long timeout) wxOVERRIDE;
|
||||
|
||||
// implement this to wake up the loop: usually done by posting a dummy event
|
||||
// to it (can be called from non main thread)
|
||||
virtual void WakeUp();
|
||||
virtual void WakeUp() wxOVERRIDE;
|
||||
|
||||
bool ShouldProcessIdleEvents() const { return m_processIdleEvents ; }
|
||||
|
||||
@@ -53,13 +53,13 @@ public:
|
||||
protected:
|
||||
// enters a loop calling OnNextIteration(), Pending() and Dispatch() and
|
||||
// terminating when Exit() is called
|
||||
virtual int DoRun();
|
||||
virtual int DoRun() wxOVERRIDE;
|
||||
|
||||
// may be overridden to perform some action at the start of each new event
|
||||
// loop iteration
|
||||
virtual void OnNextIteration() {}
|
||||
|
||||
virtual void DoYieldFor(long eventsToProcess);
|
||||
virtual void DoYieldFor(long eventsToProcess) wxOVERRIDE;
|
||||
|
||||
void CommonModeObserverCallBack(CFRunLoopObserverRef observer, int activity);
|
||||
void DefaultModeObserverCallBack(CFRunLoopObserverRef observer, int activity);
|
||||
|
@@ -104,7 +104,7 @@ public:
|
||||
static int GetCount();
|
||||
bool Create(int nDev = 1);
|
||||
void AddCookie(CFTypeRef Data, int i);
|
||||
virtual void BuildCookies(CFArrayRef Array);
|
||||
virtual void BuildCookies(CFArrayRef Array) wxOVERRIDE;
|
||||
void DoBuildCookies(CFArrayRef Array);
|
||||
};
|
||||
|
||||
|
@@ -323,7 +323,7 @@ public:
|
||||
virtual size_t ToWChar(wchar_t * dst, size_t dstSize, const char * src, size_t srcSize = wxNO_LEN) const;
|
||||
virtual size_t FromWChar(char *dst, size_t dstSize, const wchar_t *src, size_t srcSize = wxNO_LEN) const;
|
||||
|
||||
virtual wxMBConv *Clone() const { return new wxMBConv_cf(*this); }
|
||||
virtual wxMBConv *Clone() const wxOVERRIDE { return new wxMBConv_cf(*this); }
|
||||
|
||||
bool IsOk() const
|
||||
{
|
||||
|
@@ -20,10 +20,10 @@ public:
|
||||
wxOSXTimerImpl(wxTimer *timer);
|
||||
virtual ~wxOSXTimerImpl();
|
||||
|
||||
virtual bool Start(int milliseconds = -1, bool one_shot = false);
|
||||
virtual void Stop();
|
||||
virtual bool Start(int milliseconds = -1, bool one_shot = false) wxOVERRIDE;
|
||||
virtual void Stop() wxOVERRIDE;
|
||||
|
||||
virtual bool IsRunning() const;
|
||||
virtual bool IsRunning() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxOSXTimerInfo *m_info;
|
||||
|
Reference in New Issue
Block a user