1
0
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:
lllucius
2014-12-17 19:16:08 +00:00
parent 4fe3f855eb
commit fe42e881a5
13 changed files with 203 additions and 158 deletions

View File

@@ -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()