1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

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

This commit is contained in:
Paul Licameli 2016-06-13 14:46:19 -04:00
parent 9f25b637a1
commit 4aa380f82a

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;