summaryrefslogtreecommitdiff
path: root/src/wx/time_picker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/time_picker.cc')
-rw-r--r--src/wx/time_picker.cc4
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)));