X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5152b0e59aa09d885deeaa018642e0e96aff92d9..6151e1445bdca0dfca660e3851aa3705bfd543de:/src/html/helpctrl.cpp diff --git a/src/html/helpctrl.cpp b/src/html/helpctrl.cpp index 21a80600ec..b55d11fcb9 100644 --- a/src/html/helpctrl.cpp +++ b/src/html/helpctrl.cpp @@ -30,8 +30,13 @@ #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)