From 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 31 Jan 2021 03:14:24 +0100 Subject: More enum class additions. --- src/wx/controls.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wx/controls.cc') 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 (); -- cgit v1.2.3