]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpchm.cpp
no real changes, just extract private classes from msw/dc.cpp into a private header...
[wxWidgets.git] / src / msw / helpchm.cpp
index a9c663e74a790e20bcee04bbff3cf46726f67c57..b41a59626d424cf7c11df3100a116e51f3f5093d 100644 (file)
@@ -18,7 +18,7 @@
 
 #if wxUSE_HELP && wxUSE_MS_HTML_HELP
 
-#include "wx/filefn.h"
+#include "wx/filename.h"
 #include "wx/msw/helpchm.h"
 
 #include "wx/dynload.h"
@@ -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 =