mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 06:06:24 +01:00
Various other drags could crash Mac debug build if you option-W. Fixed too...
... And I think this fix is now exhaustive.
This commit is contained in:
@@ -112,6 +112,8 @@ ToolBarResizer::ToolBarResizer(ToolBar *bar)
|
||||
|
||||
ToolBarResizer::~ToolBarResizer()
|
||||
{
|
||||
if(HasCapture())
|
||||
ReleaseMouse();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -155,6 +155,12 @@ class ToolFrame final : public wxFrame
|
||||
}
|
||||
}
|
||||
|
||||
~ToolFrame()
|
||||
{
|
||||
if(HasCapture())
|
||||
ReleaseMouse();
|
||||
}
|
||||
|
||||
//
|
||||
// Transition a toolbar from float to dragging
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user