diff options
author | John Emmas <johne53@tiscali.co.uk> | 2016-06-01 14:26:23 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2016-06-01 14:30:29 +0100 |
commit | f513878c8a54bdbed0d2657ac904f51590d4556e (patch) | |
tree | 20e31ae5881e5d7d7405d62d9b8bfb0c7a7581fc /gtk2_ardour/mixer_strip.cc | |
parent | 17f1132545bba7dd39f8e47151977ff5cbb790c4 (diff) |
MSVC itself defines a class called CheckMenuItem - so make sure we know to use the one from Gtk
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index a4c65475c5..439a0ee5a5 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -2488,7 +2488,7 @@ MixerStrip::set_meter_type (MeterType t) } void -MixerStrip::vca_menu_toggle (CheckMenuItem* menuitem, uint32_t n) +MixerStrip::vca_menu_toggle (Gtk::CheckMenuItem* menuitem, uint32_t n) { if (!_route) { return; @@ -2569,7 +2569,7 @@ MixerStrip::vca_button_release (GdkEventButton* ev) for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) { items.push_back (CheckMenuElem ((*v)->name())); - CheckMenuItem* item = dynamic_cast<CheckMenuItem*> (&items.back()); + Gtk::CheckMenuItem* item = dynamic_cast<Gtk::CheckMenuItem*> (&items.back()); if (_route->slaved_to (*v)) { item->set_active (true); } |