mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-20 07:31:19 +01:00
First stab at taming the meter toolbars
This should correct at least a couple of the reported issues. And it also has some fixes in for multiple project support.
This commit is contained in:
@@ -298,6 +298,8 @@ ToolBar::ToolBar( int type,
|
||||
|
||||
mGrabber = NULL;
|
||||
mResizer = NULL;
|
||||
|
||||
SetId(mType);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -384,7 +386,7 @@ bool ToolBar::Expose( bool show )
|
||||
{
|
||||
bool was = mVisible;
|
||||
|
||||
mVisible = show;
|
||||
SetVisible( show );
|
||||
|
||||
if( IsDocked() )
|
||||
{
|
||||
@@ -423,10 +425,6 @@ void ToolBar::Create( wxWindow *parent )
|
||||
|
||||
// Go do the rest of the creation
|
||||
ReCreateButtons();
|
||||
|
||||
// Let the user see it in all its glory
|
||||
Show();
|
||||
mVisible = true;
|
||||
}
|
||||
|
||||
void ToolBar::ReCreateButtons()
|
||||
|
||||
Reference in New Issue
Block a user