1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Define and use ShuttleGui::Size

This commit is contained in:
Paul Licameli
2019-11-18 19:22:21 -05:00
parent dd954247d3
commit 930c21dc2a
3 changed files with 19 additions and 1 deletions

View File

@@ -2089,6 +2089,9 @@ void ShuttleGuiBase::UpdateSizersCore(bool bPrepend, int Flags, bool prompt)
else if( mItem.mHasMinSize )
mpWind->SetMinSize( mItem.mMinSize );
if ( mItem.mWindowSize != wxSize{} )
mpWind->SetSize( mItem.mWindowSize );
// Reset to defaults
mItem = {};
}