1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-28 22:28:44 +02:00

Can't call Fit() on (negative) wxDefaultSize

and SetSizeHints will call Fit()
This commit is contained in:
Steve Daulton 2018-05-02 16:11:35 +01:00
parent ff8926f184
commit 0d5fb01c97

View File

@ -174,7 +174,6 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
pFrame->CreateStatusBar(); pFrame->CreateStatusBar();
pFrame->Centre(); pFrame->Centre();
pFrame->Layout(); pFrame->Layout();
pFrame->Fit();
pFrame->SetSizeHints(pWnd->GetSize()); pFrame->SetSizeHints(pWnd->GetSize());
pFrame->SetName(Title); pFrame->SetName(Title);