mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
Merge branch 'master' into scrubbing
This commit is contained in:
commit
8b2729f4a2
1
.gitignore
vendored
1
.gitignore
vendored
@ -34,6 +34,7 @@ mac/tests/
|
|||||||
*.opensdf
|
*.opensdf
|
||||||
# unsure about the .sal files. Disable for now.
|
# unsure about the .sal files. Disable for now.
|
||||||
*.sal
|
*.sal
|
||||||
|
*.vcxproj.user
|
||||||
|
|
||||||
# Precompiled Headers
|
# Precompiled Headers
|
||||||
*.gch
|
*.gch
|
||||||
|
@ -1078,6 +1078,10 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
|
|||||||
|
|
||||||
AudacityProject::~AudacityProject()
|
AudacityProject::~AudacityProject()
|
||||||
{
|
{
|
||||||
|
// Tool manager gives us capture sometimes
|
||||||
|
if(HasCapture())
|
||||||
|
ReleaseMouse();
|
||||||
|
|
||||||
if (wxGetApp().GetRecentFiles())
|
if (wxGetApp().GetRecentFiles())
|
||||||
{
|
{
|
||||||
wxGetApp().GetRecentFiles()->RemoveMenu(mRecentFilesMenu);
|
wxGetApp().GetRecentFiles()->RemoveMenu(mRecentFilesMenu);
|
||||||
|
@ -631,6 +631,8 @@ EffectAutoDuckPanel::~EffectAutoDuckPanel()
|
|||||||
{
|
{
|
||||||
if (mBackgroundBitmap)
|
if (mBackgroundBitmap)
|
||||||
delete mBackgroundBitmap;
|
delete mBackgroundBitmap;
|
||||||
|
if(HasCapture())
|
||||||
|
ReleaseMouse();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EffectAutoDuckPanel::ResetControlPoints()
|
void EffectAutoDuckPanel::ResetControlPoints()
|
||||||
|
@ -2922,6 +2922,9 @@ EqualizationPanel::~EqualizationPanel()
|
|||||||
delete [] mOuti;
|
delete [] mOuti;
|
||||||
if (mOutr)
|
if (mOutr)
|
||||||
delete [] mOutr;
|
delete [] mOutr;
|
||||||
|
|
||||||
|
if(HasCapture())
|
||||||
|
ReleaseMouse();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EqualizationPanel::ForceRecalc()
|
void EqualizationPanel::ForceRecalc()
|
||||||
|
@ -112,6 +112,8 @@ ToolBarResizer::ToolBarResizer(ToolBar *bar)
|
|||||||
|
|
||||||
ToolBarResizer::~ToolBarResizer()
|
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
|
// Transition a toolbar from float to dragging
|
||||||
//
|
//
|
||||||
|
@ -187,6 +187,8 @@ AButton::AButton(wxWindow * parent,
|
|||||||
|
|
||||||
AButton::~AButton()
|
AButton::~AButton()
|
||||||
{
|
{
|
||||||
|
if(HasCapture())
|
||||||
|
ReleaseMouse();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AButton::Init(wxWindow * parent,
|
void AButton::Init(wxWindow * parent,
|
||||||
|
@ -1618,6 +1618,8 @@ ASlider::ASlider( wxWindow * parent,
|
|||||||
|
|
||||||
ASlider::~ASlider()
|
ASlider::~ASlider()
|
||||||
{
|
{
|
||||||
|
if(HasCapture())
|
||||||
|
ReleaseMouse();
|
||||||
delete mLWSlider;
|
delete mLWSlider;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1838,6 +1838,9 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* parent,
|
|||||||
|
|
||||||
AdornedRulerPanel::~AdornedRulerPanel()
|
AdornedRulerPanel::~AdornedRulerPanel()
|
||||||
{
|
{
|
||||||
|
if(HasCapture())
|
||||||
|
ReleaseMouse();
|
||||||
|
|
||||||
// Done with the snap manager
|
// Done with the snap manager
|
||||||
if (mSnapManager) {
|
if (mSnapManager) {
|
||||||
delete mSnapManager;
|
delete mSnapManager;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user