Fixed invisible CHM tooltip text bug when window text colour is black.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-05-20 13:16:17 +00:00
parent 3c46da4231
commit 09e02fc7a2

View 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 =