1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-05 22:59:29 +02:00

More wx3 workarounds

This commit is contained in:
Leland Lucius 2015-05-16 17:21:14 -05:00
parent 19e10ec81a
commit b0405d0450

View File

@ -86,7 +86,7 @@ and in the spectrogram spectral selection.
#if defined(__WXGTK__)
#define GSocket GSocketHack
#include <gtk/gtkwidget.h>
#include <gtk/gtk.h>
#endif
DEFINE_EVENT_TYPE(EVT_FREQWINDOW_RECALC);
@ -516,7 +516,7 @@ FreqWindow::FreqWindow(wxWindow * parent, wxWindowID id,
//
// I guess the only way round it would be to handle key actions
// ourselves, but we'll leave that for a future date.
GTK_WIDGET_SET_FLAGS(mPanScroller->m_widget, GTK_CAN_FOCUS);
gtk_widget_set_can_focus(mPanScroller->m_widget, true);
#endif
}