minor safety fix for the Pane
[ardour.git] / gtk2_ardour / ardour_dropdown.h
index c1cf11917e241a8fc1c25af7b117f52050f0f1fb..638f54c8b9ae3f49db42a5c0c0f6fa6da699f791 100644 (file)
@@ -40,10 +40,14 @@ class ArdourDropdown : public ArdourButton
        bool on_scroll_event (GdkEventScroll*);
 
        void clear_items ();
-       void AddMenuElem (Gtk::Menu_Helpers::MenuElem e);
+       void AddMenuElem (Gtk::Menu_Helpers::Element e);
+
+       void disable_scrolling();
 
   private:
        Gtk::Menu      _menu;
+
+       bool _scrolling_disabled;
 };
 
 #endif /* __gtk2_ardour_ardour_dropdown_h__ */