Remove old Connect() wxWidgets API and use Bind().
[dcpomatic.git] / src / wx / timecode.h
index 9b6fe66542e9fec1c1bc8d15d26ccd1c7133fbc6..bebfa3f5f8d2f00c3cdea476a5b7e6fde8f9b9ae 100644 (file)
@@ -32,12 +32,13 @@ public:
        boost::signals2::signal<void ()> Changed;
 
 private:
-       void changed (wxCommandEvent &);
+       void changed ();
+       void set_clicked ();
        
        wxTextCtrl* _hours;
        wxTextCtrl* _minutes;
        wxTextCtrl* _seconds;
        wxTextCtrl* _frames;
-
-       bool _in_set;
+       wxButton* _set_button;
 };
+