Use wxUILocale in wxSpinCtrlDouble

This ensures that we use the decimal separator corresponding to the UI
locale of the application, rather than C locale, so that e.g. comma is
used under macOS even if setlocale() is not used.
This commit is contained in:
Vadim Zeitlin
2021-08-14 13:27:57 +01:00
parent b3cab73680
commit 85d379913d
2 changed files with 3 additions and 6 deletions

View File

@@ -427,8 +427,6 @@ private:
void DoSetDigitsAndUpdate(unsigned digits);
wxString m_format;
wxDECLARE_DYNAMIC_CLASS(wxSpinCtrlDouble);
};