X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6adaedf0fc6607ee5bb4e86358396e5e07c6649f..77611ad4da9df336a0805508276a81b8f4437107:/src/generic/helpwxht.cpp?ds=sidebyside diff --git a/src/generic/helpwxht.cpp b/src/generic/helpwxht.cpp index f4ca7a115e..955dcd87e8 100644 --- a/src/generic/helpwxht.cpp +++ b/src/generic/helpwxht.cpp @@ -212,6 +212,13 @@ wxHelpFrame::wxHelpFrame(wxWindow *parent, int id, m_htmlwin->SetRelatedStatusBar(0); m_htmlwin->AddFilter(m_filter); +#ifdef __WXMOTIF__ + // Motif needs a nudge to get it to resize properly + // when shown + wxSizeEvent event(size, GetId()); + GetEventHandler()->ProcessEvent(event); +#endif + Show(TRUE); }