wxOVERRIDE
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user