Use wxUILocale for date formatting in wxDataViewDateRenderer

Use the appropriate format for the dates by using the UI, rather than C,
locale, similarly to wxGrid.
This commit is contained in:
Vadim Zeitlin
2021-08-14 19:08:43 +01:00
parent 8373b14280
commit c746953f9b
2 changed files with 12 additions and 3 deletions

View File

@@ -527,6 +527,8 @@ public:
virtual wxSize GetSize() const wxOVERRIDE;
private:
wxString FormatDate() const;
wxDateTime m_date;
};
#else // !wxUSE_DATEPICKCTRL