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:
parent
9f25b637a1
commit
4aa380f82a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user