#if wxUSE_HELP && wxUSE_MS_HTML_HELP
-#include "wx/filefn.h"
+#include "wx/filename.h"
#include "wx/msw/helpchm.h"
#include "wx/dynload.h"
popup.pszText = text;
popup.pt.x = pos.x;
popup.pt.y = pos.y;
- popup.clrForeground =
- popup.clrBackground = (COLORREF)-1;
+ popup.clrForeground = ::GetSysColor(COLOR_INFOTEXT);
+ popup.clrBackground = ::GetSysColor(COLOR_INFOBK);
popup.rcMargins.top =
popup.rcMargins.left =
popup.rcMargins.right =
bool wxCHMHelpController::Quit()
{
- return CallHtmlHelp(NULL, HH_CLOSE_ALL);
+ return CallHtmlHelp(NULL, NULL, HH_CLOSE_ALL);
}
wxString wxCHMHelpController::GetValidFilename() const
{
wxString path, name, ext;
- wxSplitPath(m_helpFile, &path, &name, &ext);
+ wxFileName::SplitPath(m_helpFile, &path, &name, &ext);
wxString fullName;
if (path.IsEmpty())