Make wxSpinCtrlDouble::SetIncrement() update digits in wxGTK too

Follow the generic version and increase the number of digits if
necessary.
This commit is contained in:
Vadim Zeitlin
2021-04-25 21:17:31 +02:00
parent a44bb13a0c
commit 3481598cc6
2 changed files with 13 additions and 1 deletions

View File

@@ -243,7 +243,7 @@ public:
void SetValue(const wxString& value) wxOVERRIDE { wxSpinCtrlGTKBase::SetValue(value); } // visibility problem w/ gcc
void SetValue(double value) { DoSetValue(value); }
void SetRange(double minVal, double maxVal) { DoSetRange(minVal, maxVal); }
void SetIncrement(double inc) { DoSetIncrement(inc); }
void SetIncrement(double inc);
void SetDigits(unsigned digits);
virtual int GetBase() const wxOVERRIDE { return 10; }