Make wxGenericProgressDialog::Resume() virtual
It needs to be overridden in the native MSW wxProgressDialog implementation, but was only hidden by the function with the same name in the derived class, making it impossible to call the right function via the base class pointer, for example.
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL);
|
||||
virtual bool Pulse(const wxString& newmsg = wxEmptyString, bool *skip = NULL);
|
||||
|
||||
void Resume();
|
||||
virtual void Resume();
|
||||
|
||||
int GetValue() const;
|
||||
int GetRange() const;
|
||||
|
@@ -26,7 +26,7 @@ public:
|
||||
virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL) wxOVERRIDE;
|
||||
virtual bool Pulse(const wxString& newmsg = wxEmptyString, bool *skip = NULL) wxOVERRIDE;
|
||||
|
||||
void Resume();
|
||||
virtual void Resume() wxOVERRIDE;
|
||||
|
||||
int GetValue() const;
|
||||
wxString GetMessage() const;
|
||||
|
Reference in New Issue
Block a user