mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 23:02:42 +02:00
Revert "fix mac build"
This reverts commit 2910cc2a6f1ad91c0aa5c63fa6c5f9e940107bdd.
This commit is contained in:
parent
2910cc2a6f
commit
107507e125
@ -1187,7 +1187,7 @@ bool AudacityApp::OnInit()
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Disable window animation
|
||||
wxSystemOptions::SetOption(wxMAC_WINDOW_PLAIN_TRANSITION, 0);
|
||||
wxSystemOptions::SetOption(wxMAC_WINDOW_PLAIN_TRANSITION, 1);
|
||||
#endif
|
||||
|
||||
#ifdef AUDACITY_NAME
|
||||
|
@ -666,7 +666,7 @@ void ToolManager::ReadConfig()
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Disable window animation
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
#endif
|
||||
|
||||
// Change to the bar root
|
||||
@ -852,7 +852,7 @@ void ToolManager::ReadConfig()
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Reinstate original transition
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
#endif
|
||||
|
||||
if (!someFound)
|
||||
@ -1055,7 +1055,7 @@ void ToolManager::OnMouse( wxMouseEvent & event )
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Disable window animation
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
#endif
|
||||
|
||||
// Retrieve the event position
|
||||
@ -1189,7 +1189,7 @@ void ToolManager::OnMouse( wxMouseEvent & event )
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Reinstate original transition
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -1236,14 +1236,14 @@ void ToolManager::OnTimer( wxTimerEvent & event )
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Disable window animation
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
#endif
|
||||
|
||||
mIndicator->Show( !state );
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Disable window animation
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -1313,7 +1313,7 @@ void ToolManager::OnGrabber( GrabberEvent & event )
|
||||
{
|
||||
#if defined(__WXMAC__)
|
||||
// Disable window animation
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, 1 );
|
||||
#endif
|
||||
|
||||
// Adjust the starting position
|
||||
@ -1334,7 +1334,7 @@ void ToolManager::OnGrabber( GrabberEvent & event )
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Reinstate original transition
|
||||
//wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
wxSystemOptions::SetOption( wxMAC_WINDOW_PLAIN_TRANSITION, mTransition );
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
@ -20,7 +20,7 @@ wxPanelWrapper::wxPanelWrapper(wxWindow * parent, wxWindowID id,
|
||||
|
||||
void wxPanelWrapper::DoCharHook(wxKeyEvent &event)
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
#ifdef __WXMAC
|
||||
// Compensate for the regressions in TAB key navigation
|
||||
// due to the switch to wxWidgets 3.0.2
|
||||
if (event.GetKeyCode() == WXK_TAB) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user