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:
parent
229781cc12
commit
950f62a548
@ -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);
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user