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

S.GetParent() for all windows passed to ShuttleGui::AddWindow()...

... Verified that this makes no real change.
This commit is contained in:
Paul Licameli
2017-10-20 12:45:27 -04:00
parent dabf5c0e39
commit 0cf90d65e6
9 changed files with 24 additions and 28 deletions

View File

@@ -160,7 +160,7 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
pFrame->SetTransparent(0);
ShuttleGui S( pWnd, eIsCreating );
wxPanel *pPan = S.Style( wxNO_BORDER | wxTAB_TRAVERSAL )
S.Style( wxNO_BORDER | wxTAB_TRAVERSAL )
.Prop(true)
.StartPanel();
{
@@ -181,7 +181,7 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
}
S.EndHorizontalLay();
html = safenew LinkingHtmlWindow(pPan, wxID_ANY,
html = safenew LinkingHtmlWindow(S.GetParent(), wxID_ANY,
wxDefaultPosition,
bIsFile ? wxSize(500, 400) : wxSize(480, 240),
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER);