X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayhead_to_frame_dialog.cc;h=137be60ae7c0c8e96134e54cae47c9d98f87233d;hb=b46a382f60fac33121f24b5cff51b0bd4f7eeaf2;hp=bb3c5b5fb022177cb28d240230349ac93ed50139;hpb=ee37079f77166aaa309ffe7b3475b4f79f88eaa8;p=dcpomatic.git diff --git a/src/wx/playhead_to_frame_dialog.cc b/src/wx/playhead_to_frame_dialog.cc index bb3c5b5fb..137be60ae 100644 --- a/src/wx/playhead_to_frame_dialog.cc +++ b/src/wx/playhead_to_frame_dialog.cc @@ -19,10 +19,12 @@ */ #include "playhead_to_frame_dialog.h" -#include "lib/raw_convert.h" +#include + +using dcp::locale_convert; PlayheadToFrameDialog::PlayheadToFrameDialog (wxWindow* parent, int fps) - : TableDialog (parent, _("Move to frame"), 2, 1, true) + : TableDialog (parent, _("Go to frame"), 2, 1, true) , _fps (fps) { add (_("Go to"), true); @@ -34,5 +36,5 @@ PlayheadToFrameDialog::PlayheadToFrameDialog (wxWindow* parent, int fps) DCPTime PlayheadToFrameDialog::get () const { - return DCPTime::from_frames (raw_convert (wx_to_std (_frame->GetValue ())) - 1, _fps); + return DCPTime::from_frames (locale_convert (wx_to_std (_frame->GetValue ())) - 1, _fps); }