Make wxSpinCtrlDouble::DetermineDigits() private
There is no need to allow calling this function from derived classes. No real changes.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user