Fixed invisible CHM tooltip text bug when window text colour is black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -143,6 +143,7 @@ wxMSW:
|
||||
- Correct coordinates of wxDropFilesEvent (Dmitriy Maksimov).
|
||||
- Fix handling of abandoned mutexes in wxMutex (David Heffernan).
|
||||
- Avoid warnings about deprecated localtime with MSVC8/9 (Chris Stankevitz).
|
||||
- Fixed invisible CHM tooltip text bug when window text colour is black.
|
||||
|
||||
wxMSW/CE:
|
||||
|
||||
|
@@ -165,8 +165,8 @@ bool wxCHMHelpController::DisplayContextPopup(int contextId)
|
||||
popup.idString = contextId ;
|
||||
|
||||
GetCursorPos(& popup.pt);
|
||||
popup.clrForeground = (COLORREF)-1;
|
||||
popup.clrBackground = (COLORREF)-1;
|
||||
popup.clrForeground = ::GetSysColor(COLOR_INFOTEXT);
|
||||
popup.clrBackground = ::GetSysColor(COLOR_INFOBK);;
|
||||
popup.rcMargins.top = popup.rcMargins.left = popup.rcMargins.right = popup.rcMargins.bottom = -1;
|
||||
popup.pszFont = NULL;
|
||||
popup.pszText = NULL;
|
||||
|
Reference in New Issue
Block a user