mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-26 14:41:14 +01:00
Bug1358: On Mac, undocked toolbars and screenshot window should not vanish...
... when switching from Audacity to another application.
This commit is contained in:
@@ -268,11 +268,19 @@ std::unique_ptr<ScreenshotCommand> ScreenFrame::CreateCommand()
|
||||
ScreenFrame::ScreenFrame(wxWindow * parent, wxWindowID id)
|
||||
: wxFrame(parent, id, _("Screen Capture Frame"),
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
|
||||
#if !defined(__WXMSW__)
|
||||
wxFRAME_TOOL_WINDOW|
|
||||
|
||||
#if !defined(__WXMAC__) // bug1358
|
||||
wxFRAME_TOOL_WINDOW |
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
wxSTAY_ON_TOP|
|
||||
|
||||
#endif
|
||||
|
||||
wxSYSTEM_MENU|wxCAPTION|wxCLOSE_BOX),
|
||||
mContext(&wxGetApp(), GetActiveProject())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user