mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
S.GetParent() for all windows passed to ShuttleGui::AddWindow()...
... Verified that this makes no real change.
This commit is contained in:
@@ -125,7 +125,7 @@ void LabelTrackMenuTable::OnSetFont(wxCommandEvent &)
|
||||
|
||||
/* i18n-hint: (noun) The name of the typeface*/
|
||||
S.AddPrompt(_("Face name"));
|
||||
lb = safenew wxListBox(&dlg, wxID_ANY,
|
||||
lb = safenew wxListBox(S.GetParent(), wxID_ANY,
|
||||
wxDefaultPosition,
|
||||
wxDefaultSize,
|
||||
facenames,
|
||||
@@ -139,7 +139,7 @@ void LabelTrackMenuTable::OnSetFont(wxCommandEvent &)
|
||||
|
||||
/* i18n-hint: (noun) The size of the typeface*/
|
||||
S.AddPrompt(_("Face size"));
|
||||
sc = safenew wxSpinCtrl(&dlg, wxID_ANY,
|
||||
sc = safenew wxSpinCtrl(S.GetParent(), wxID_ANY,
|
||||
wxString::Format(wxT("%ld"), fontsize),
|
||||
wxDefaultPosition,
|
||||
wxDefaultSize,
|
||||
|
Reference in New Issue
Block a user