#include "time_picker.h"
#include "wx_util.h"
-#include "lib/raw_convert.h"
+#include <dcp/locale_convert.h>
#include <wx/spinctrl.h>
#include <boost/bind.hpp>
#include <iomanip>
using std::string;
using std::cout;
using boost::bind;
+using dcp::locale_convert;
TimePicker::TimePicker (wxWindow* parent, wxDateTime time)
: wxPanel (parent)
}
_block_update = true;
- _hours_spin->SetValue (raw_convert<int> (wx_to_std (_hours->GetValue())));
- _minutes_spin->SetValue (raw_convert<int> (wx_to_std (_minutes->GetValue())));
+ _hours_spin->SetValue (locale_convert<int> (wx_to_std (_hours->GetValue())));
+ _minutes_spin->SetValue (locale_convert<int> (wx_to_std (_minutes->GetValue())));
_block_update = false;
Changed ();