mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-28 16:20:12 +01:00
Two Initialisations (Valgrind)
This commit is contained in:
committed by
James Crook
parent
a3d20c846a
commit
d1b49952e9
@@ -355,6 +355,7 @@ ToolDock::ToolDock( ToolManager *manager, wxWindow *parent, int dockid ):
|
|||||||
|
|
||||||
// Init
|
// Init
|
||||||
mManager = manager;
|
mManager = manager;
|
||||||
|
memset(mBars, 0, sizeof(mBars)); // otherwise uninitialized
|
||||||
|
|
||||||
// Use for testing gaps
|
// Use for testing gaps
|
||||||
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
|
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
|
||||||
|
|||||||
@@ -1959,6 +1959,7 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* project,
|
|||||||
mCursorDefault = wxCursor(wxCURSOR_DEFAULT);
|
mCursorDefault = wxCursor(wxCURSOR_DEFAULT);
|
||||||
mCursorHand = wxCursor(wxCURSOR_HAND);
|
mCursorHand = wxCursor(wxCURSOR_HAND);
|
||||||
mCursorSizeWE = wxCursor(wxCURSOR_SIZEWE);
|
mCursorSizeWE = wxCursor(wxCURSOR_SIZEWE);
|
||||||
|
mIsWE = false;
|
||||||
|
|
||||||
mLeftOffset = 0;
|
mLeftOffset = 0;
|
||||||
mIndTime = -1;
|
mIndTime = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user