diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-09 02:02:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 17:02:24 +0200 |
| commit | 5527bdb269e355ca95aa91fe3907bfef0ef17ff4 (patch) | |
| tree | 5dd2fc2e81cf193c9712606f43f1e13e1a6e46bf /src/wx/time_picker.cc | |
| parent | a27964bd1794bb6a843873a0eaf3faa2c5cc317a (diff) | |
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/time_picker.cc')
| -rw-r--r-- | src/wx/time_picker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/time_picker.cc b/src/wx/time_picker.cc index 2bc3556fd..8016f79f5 100644 --- a/src/wx/time_picker.cc +++ b/src/wx/time_picker.cc @@ -115,8 +115,8 @@ TimePickerText::TimePickerText (wxWindow* parent, wxDateTime time) _minutes->MoveAfterInTabOrder (_hours); - _hours->SetValue (wxString::Format("%d", time.GetHour())); - _minutes->SetValue (wxString::Format("%d", time.GetMinute())); + _hours->SetValue(wxString::Format(char_to_wx("%d"), time.GetHour())); + _minutes->SetValue(wxString::Format(char_to_wx("%d"), time.GetMinute())); _hours->Bind (wxEVT_TEXT, (bind(&TimePickerText::changed, this))); _minutes->Bind (wxEVT_TEXT, (bind(&TimePickerText::changed, this))); |
