Add some TRANSLATORS comments.
[dcpomatic.git] / src / wx / timecode.cc
index 291a6ba5889ab9edd223bf9f309f320638e09cc5..043d4bc87536b8b5cd968dda7d0fab5180313392 100644 (file)
 #include "lib/util.h"
 #include "timecode.h"
 #include "wx_util.h"
-#include <boost/lexical_cast.hpp>
+#include <iostream>
 
 using std::string;
 using std::cout;
-using boost::lexical_cast;
 
 TimecodeBase::TimecodeBase (wxWindow* parent)
        : wxPanel (parent)
 {
        wxSize const s = TimecodeBase::size (parent);
-       
+
        wxTextValidator validator (wxFILTER_INCLUDE_CHAR_LIST);
        wxArrayString list;
 
@@ -42,7 +41,7 @@ TimecodeBase::TimecodeBase (wxWindow* parent)
        validator.SetIncludes (list);
 
        _sizer = new wxBoxSizer (wxHORIZONTAL);
-       
+
        _editable = new wxPanel (this);
        wxSizer* editable_sizer = new wxBoxSizer (wxHORIZONTAL);
        _hours = new wxTextCtrl (_editable, wxID_ANY, wxT(""), wxDefaultPosition, s, 0, validator);
@@ -66,7 +65,7 @@ TimecodeBase::TimecodeBase (wxWindow* parent)
        _sizer->Add (_editable);
 
        _fixed = add_label_to_sizer (_sizer, this, wxT ("42"), false);
-       
+
        _hours->Bind      (wxEVT_COMMAND_TEXT_UPDATED,   boost::bind (&TimecodeBase::changed, this));
        _minutes->Bind    (wxEVT_COMMAND_TEXT_UPDATED,   boost::bind (&TimecodeBase::changed, this));
        _seconds->Bind    (wxEVT_COMMAND_TEXT_UPDATED,   boost::bind (&TimecodeBase::changed, this));
@@ -119,5 +118,3 @@ TimecodeBase::size (wxWindow* parent)
        size.SetHeight (-1);
        return size;
 }
-
-