]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpchm.cpp
implement support for button bitmaps (normal state only for now) for wxGTK
[wxWidgets.git] / src / msw / helpchm.cpp
index e88789a0427ece18b7934795e3337e1a8770fe93..b41a59626d424cf7c11df3100a116e51f3f5093d 100644 (file)
@@ -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 =