1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-19 14:17:41 +02:00

Apply Mac fixes for bugs 868, 1196 to Linux

This commit is contained in:
windinthew 2016-09-22 18:56:26 +01:00
parent 229781cc12
commit 950f62a548
2 changed files with 6 additions and 3 deletions

View File

@ -1130,7 +1130,8 @@ int AudacityApp::FilterEvent(wxEvent & event)
} }
#endif #endif
#ifdef __WXMAC__
#if defined(__WXMAC__) || defined(__WXGTK__)
if (event.GetEventType() == wxEVT_ACTIVATE) if (event.GetEventType() == wxEVT_ACTIVATE)
{ {
wxActivateEvent & e = static_cast<wxActivateEvent &>(event); wxActivateEvent & e = static_cast<wxActivateEvent &>(event);

View File

@ -2925,7 +2925,8 @@ void AudacityProject::NextWindow()
// (Really only works on Windows) // (Really only works on Windows)
w->Raise(); w->Raise();
#ifdef __WXMAC__
#if defined(__WXMAC__) || defined(__WXGTK__)
// bug 868 // bug 868
// Simulate a TAB key press before continuing, else the cycle of // Simulate a TAB key press before continuing, else the cycle of
// navigation among top level windows stops because the keystrokes don't // navigation among top level windows stops because the keystrokes don't
@ -2976,7 +2977,8 @@ void AudacityProject::PrevWindow()
// (Really only works on Windows) // (Really only works on Windows)
w->Raise(); w->Raise();
#ifdef __WXMAC__
#if defined(__WXMAC__) || defined(__WXGTK__)
// bug 868 // bug 868
// Simulate a TAB key press before continuing, else the cycle of // Simulate a TAB key press before continuing, else the cycle of
// navigation among top level windows stops because the keystrokes don't // navigation among top level windows stops because the keystrokes don't