Fix wxQt build errors when using gcc 4.4

Closes #17733.
This commit is contained in:
Graham Dawes
2016-11-29 15:48:07 +00:00
committed by Vadim Zeitlin
parent 5551932c25
commit d639e4ffce
6 changed files with 7 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ public:
virtual int GetBase() const wxOVERRIDE { return m_base; }
virtual bool SetBase(int base) wxOVERRIDE;
virtual void SetValue(const wxString & val);
virtual void SetValue(int val) { wxSpinCtrlQt::SetValue(val); }
virtual void SetValue(int val) { wxSpinCtrlQt<int,QSpinBox>::SetValue(val); }
private:
// Common part of all ctors.
@@ -118,7 +118,7 @@ public:
virtual int GetBase() const wxOVERRIDE { return 10; }
virtual bool SetBase(int WXUNUSED(base)) wxOVERRIDE { return false; }
virtual void SetValue(const wxString & val);
virtual void SetValue(double val) { wxSpinCtrlQt::SetValue(val); }
virtual void SetValue(double val) { wxSpinCtrlQt<double,QDoubleSpinBox>::SetValue(val); }
private:
wxDECLARE_DYNAMIC_CLASS( wxSpinCtrlDouble );