Make wxSpinCtrlDouble::DetermineDigits() private

There is no need to allow calling this function from derived classes.

No real changes.
This commit is contained in:
Vadim Zeitlin
2021-04-25 19:11:38 +01:00
parent c177e006fc
commit e748c2b56c

View File

@@ -416,7 +416,6 @@ protected:
virtual bool DoTextToValue(const wxString& text, double *val) wxOVERRIDE;
virtual wxString DoValueToText(double val) wxOVERRIDE;
virtual void ResetTextValidator() wxOVERRIDE;
void DetermineDigits(double inc);
unsigned m_digits;
@@ -428,6 +427,9 @@ private:
m_format = wxASCII_STR("%0.0f");
}
// Update m_digits and m_format to correspond to the given increment.
void DetermineDigits(double inc);
wxString m_format;
wxDECLARE_DYNAMIC_CLASS(wxSpinCtrlDouble);