mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-05 22:59:29 +02:00
More wx3 workarounds
This commit is contained in:
parent
19e10ec81a
commit
b0405d0450
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user