_block_update = true;
- _hours->SetValue (std_to_wx (raw_convert<string> (_hours_spin->GetValue ())));
-
- locked_stringstream m;
- m << setfill('0') << setw(2) << _minutes_spin->GetValue();
- _minutes->SetValue (std_to_wx (m.str()));
+ _hours->SetValue (wxString::Format ("%d", _hours_spin->GetValue ()));
+ _minutes->SetValue (wxString::Format ("%02d", _minutes_spin->GetValue ()));
_block_update = false;