1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

Code to iconize and show temporary window (so that audacity appears on taskbar) made __WXMSW__ only, as it is unsafe (crashes) on MAC.

This commit is contained in:
james.k.crook@gmail.com 2013-10-01 10:53:08 +00:00
parent b0e65b57c2
commit 4cdf602343

View File

@ -1178,8 +1178,11 @@ bool AudacityApp::OnInit()
// thinking nothing is happenning, but not ideal.
// TODO: temporary window should perhaps iconize after it 'raises' child window
// to the front, if we care enough about this case.
// Only on Windows, as apparently crashes on MAC! (and not needed on Mac anyway).
#ifdef __WXMSW__
temporarywindow->Iconize( true );
temporarywindow->Show(true);
temporarywindow->Show( true );
#endif
// Initialize the CommandHandler
InitCommandHandler();