mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 23:02:42 +02:00
Apply recent navigation fixes only where needed on Mac...
This commit is contained in:
commit
39186bce0d
@ -20,6 +20,9 @@ wxPanelWrapper::wxPanelWrapper(wxWindow * parent, wxWindowID id,
|
||||
|
||||
void wxPanelWrapper::DoCharHook(wxKeyEvent &event)
|
||||
{
|
||||
#ifdef __WXMAC
|
||||
// Compensate for the regressions in TAB key navigation
|
||||
// due to the switch to wxWidgets 3.0.2
|
||||
if (event.GetKeyCode() == WXK_TAB) {
|
||||
wxWindow::FindFocus()->Navigate(
|
||||
event.ShiftDown()
|
||||
@ -28,6 +31,7 @@ void wxPanelWrapper::DoCharHook(wxKeyEvent &event)
|
||||
);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user