mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 15:49:42 +02:00
Apply recent navigation fixes only where needed on Mac...
... Windows didn't need them, Preferences already navigated correctly between the panes, but the new changes caused navigation to get trapped in radio button groups.
This commit is contained in:
parent
9f6eedf6e4
commit
7d25dedafd
@ -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