mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Remove second argument of AddWindow(), use Position() instead
This commit is contained in:
@@ -290,7 +290,8 @@ SliderDialog::SliderDialog(wxWindow * parent, wxWindowID id,
|
||||
size,
|
||||
ASlider::Options{}
|
||||
.Style( style ).Line( line ).Page( page ) );
|
||||
S.AddWindow(mSlider, wxEXPAND);
|
||||
S.Position(wxEXPAND)
|
||||
.AddWindow(mSlider);
|
||||
}
|
||||
S.EndVerticalLay();
|
||||
|
||||
|
||||
@@ -192,7 +192,8 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
|
||||
else
|
||||
html->SetPage( HtmlText);
|
||||
|
||||
S.Prop(1).Focus().AddWindow( html, wxEXPAND );
|
||||
S.Prop(1).Focus().Position( wxEXPAND )
|
||||
.AddWindow( html );
|
||||
|
||||
S.Id( wxID_CANCEL ).AddButton( _("Close"), wxALIGN_CENTER, true );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user