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:
parent
b0e65b57c2
commit
4cdf602343
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user