]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpwxht.cpp
fixed typo : _ instead of wxT
[wxWidgets.git] / src / generic / helpwxht.cpp
index b16312f6ab07e1cc3109a67b5bcc7e1609bb4c7f..955dcd87e8f2d31fdf5fd018d3390b2c1ef7a0bf 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        helpext.cpp
-// Purpose:     an external help controller for wxWindows
+// Name:        helpwxht.cpp
+// Purpose:     A help controller using the wxHTML classes
 // Author:      Karsten Ballueder
 // Modified by:
 // Created:     04/01/98
@@ -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);
 }