mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 07:35:51 +01:00
Can't call Fit() on (negative) wxDefaultSize
and SetSizeHints will call Fit()
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user