]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxGTK (missing header)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Aug 2002 11:45:56 +0000 (11:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Aug 2002 11:45:56 +0000 (11:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpctrl.cpp

index 21a80600ec9193bc07bec0e3429a7dd7985aad32..b55d11fcb9ddd2bf02aea489a645f709393e0bf8 100644 (file)
 #include "wx/html/helpctrl.h"
 #include "wx/busyinfo.h"
 
+#ifdef __WXGTK__
+    // for the hack in AddGrabIfNeeded()
+    #include "wx/dialog.h"
+#endif // __WXGTK__
+
 #if wxUSE_HELP
-#include "wx/tipwin.h"
+    #include "wx/tipwin.h"
 #endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxHtmlHelpController, wxHelpControllerBase)
@@ -274,7 +279,7 @@ void wxHtmlHelpController::AddGrabIfNeeded()
 
     if (needGrab && m_helpFrame)
         m_helpFrame->AddGrab();
-#endif
+#endif // __WXGTK__
 }
 
 bool wxHtmlHelpController::Display(const wxString& x)