projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make player more tolerant of some DCP errors.
[dcpomatic.git]
/
src
/
wx
/
time_picker.h
diff --git
a/src/wx/time_picker.h
b/src/wx/time_picker.h
index 80888301031f18f2599bf5fddc8654cf319aae1d..53e31a06a8d21e15c26cfe90f3d29b8b1a161de3 100644
(file)
--- a/
src/wx/time_picker.h
+++ b/
src/wx/time_picker.h
@@
-21,8
+21,7
@@
#include <wx/wx.h>
#include <boost/signals2.hpp>
#include <wx/wx.h>
#include <boost/signals2.hpp>
-class wxTextCtrl;
-class wxSpinButton;
+class wxSpinCtrl;
class TimePicker : public wxPanel
{
class TimePicker : public wxPanel
{
@@
-35,13
+34,8
@@
public:
boost::signals2::signal<void ()> Changed;
private:
boost::signals2::signal<void ()> Changed;
private:
- void update_spin ();
- void update_text ();
+ void spin_changed ();
- wxTextCtrl* _hours;
- wxSpinButton* _hours_spin;
- wxTextCtrl* _minutes;
- wxSpinButton* _minutes_spin;
-
- bool _block_update;
+ wxSpinCtrl* _hours;
+ wxSpinCtrl* _minutes;
};
};