diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-31 03:14:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-31 03:14:24 +0100 |
| commit | 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (patch) | |
| tree | f8b25b13ac3732838be259e469d045438d999e7b /src/wx/controls.cc | |
| parent | 4985d87750c87019dfe5dc7ef44e12c45326dd0e (diff) | |
More enum class additions.
Diffstat (limited to 'src/wx/controls.cc')
| -rw-r--r-- | src/wx/controls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 5364e1614..311343400 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -190,7 +190,7 @@ Controls::update_position () void Controls::eye_changed () { - _viewer->set_eyes (_eye->GetSelection() == 0 ? EYES_LEFT : EYES_RIGHT); + _viewer->set_eyes (_eye->GetSelection() == 0 ? Eyes::LEFT : Eyes::RIGHT); } void @@ -407,7 +407,7 @@ Controls::film () const void Controls::film_change (ChangeType type, Film::Property p) { - if (type == CHANGE_TYPE_DONE) { + if (type == ChangeType::DONE) { if (p == Film::CONTENT) { setup_sensitivity (); update_position_label (); |
