file binary compat is for windows in general (not msvc)
[ardour.git] / gtk2_ardour / ardour_dialog.cc
index 3690ee023bbe545fa7cb59016f478f0507ad5adc..34027ca0c3600f3f207e2b460034234a15662389 100644 (file)
@@ -32,6 +32,7 @@
 using namespace std;
 using namespace Gtk;
 using namespace Gtkmm2ext;
+using namespace ARDOUR_UI_UTILS;
 
 ArdourDialog::ArdourDialog (string title, bool modal, bool use_seperator)
        : Dialog (title, modal, use_seperator)
@@ -65,7 +66,10 @@ ArdourDialog::~ArdourDialog ()
 bool
 ArdourDialog::on_key_press_event (GdkEventKey* ev)
 {
-       return relay_key_press (ev, this);
+       if (!relay_key_press (ev, this)) {
+               return Gtk::Window::on_key_press_event(ev);
+       }
+       return true;
 }
 
 bool