wxOVERRIDE

This commit is contained in:
Paul Cornett
2019-02-17 22:42:26 -08:00
parent 3b8404ce48
commit 7c75f46098
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ private:
struct reftype_with_deleter : public reftype struct reftype_with_deleter : public reftype
{ {
reftype_with_deleter(T* ptr, Deleter d) : reftype(ptr), m_deleter(d) {} reftype_with_deleter(T* ptr, Deleter d) : reftype(ptr), m_deleter(d) {}
virtual void delete_ptr() { m_deleter(this->m_ptr); } virtual void delete_ptr() wxOVERRIDE { m_deleter(this->m_ptr); }
Deleter m_deleter; Deleter m_deleter;
}; };

View File

@@ -66,7 +66,7 @@ public:
// this one is called on application startup and is a good place for the app // this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error // initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates) // return: if OnInit() returns false, the application terminates)
virtual bool OnInit(); virtual bool OnInit() wxOVERRIDE;
}; };
// Define a new frame type: this is going to be our main frame // Define a new frame type: this is going to be our main frame