]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpwxht.cpp
fixed typo : _ instead of wxT
[wxWidgets.git] / src / generic / helpwxht.cpp
index f4ca7a115e73df65cd1025d8a9eb4a8c7ca9cdb3..955dcd87e8f2d31fdf5fd018d3390b2c1ef7a0bf 100644 (file)
@@ -212,6 +212,13 @@ wxHelpFrame::wxHelpFrame(wxWindow *parent, int id,
    m_htmlwin->SetRelatedStatusBar(0);
    m_htmlwin->AddFilter(m_filter);
 
    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);
 }
 
    Show(TRUE);
 }