1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 22:53:55 +01:00

Don't narrow toolbars on Windows when they re-dock

This commit is contained in:
Paul Licameli
2016-06-13 14:47:09 -04:00

View File

@@ -384,6 +384,11 @@ void ToolDock::Undock( ToolBar *bar )
//
void ToolDock::Dock( ToolBar *bar, bool deflate, ToolBarConfiguration::Position position )
{
#ifndef __WXMAC__
// Apply the deflate fix only on Mac, else you introduce the opposite bug on others
deflate = false;
#endif
// Adopt the toolbar into our family
bar->Reparent( this );
mBars[ bar->GetId() ] = bar;