Put Time types in dcpomatic namespace.
[dcpomatic.git] / src / wx / playhead_to_frame_dialog.cc
index 3f1d06d2a9affa4a953bdf6f6b18f8957ece8ebf..4c8bc1cc6ede06f9ca03014808684517dfb68743 100644 (file)
 */
 
 #include "playhead_to_frame_dialog.h"
-#include "lib/locale_convert.h"
+#include <dcp/locale_convert.h>
+
+using dcp::locale_convert;
+using namespace dcpomatic;
 
 PlayheadToFrameDialog::PlayheadToFrameDialog (wxWindow* parent, int fps)
        : TableDialog (parent, _("Go to frame"), 2, 1, true)
@@ -27,6 +30,7 @@ PlayheadToFrameDialog::PlayheadToFrameDialog (wxWindow* parent, int fps)
 {
        add (_("Go to"), true);
        _frame = add (new wxTextCtrl (this, wxID_ANY, wxT ("")));
+       _frame->SetFocus ();
 
        layout ();
 }