X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/730078f8ac0a75a75a49060c42c2fc8ec96939a0..ad94cb2b4f4bee1dce6fa6bfce3a04b117b83141:/src/msw/helpchm.cpp diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index e88789a042..cdb46e21af 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -50,7 +50,7 @@ HTMLHELP GetHtmlHelpFunction() if ( !s_htmlHelp ) { - static wxDynamicLibrary s_dllHtmlHelp(_T("HHCTRL.OCX"), wxDL_VERBATIM); + static wxDynamicLibrary s_dllHtmlHelp(wxT("HHCTRL.OCX"), wxDL_VERBATIM); if ( !s_dllHtmlHelp.IsLoaded() ) { @@ -156,8 +156,8 @@ wxCHMHelpController::DoDisplayTextPopup(const wxChar *text, 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 =