applied patch 439186 (mingw and VC5 fixes)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-07 23:02:09 +00:00
parent 7bf1474ab6
commit 5438a5665e
14 changed files with 40 additions and 8 deletions

View File

@@ -185,8 +185,8 @@ bool wxCHMHelpController::DisplayContextPopup(int contextId)
popup.idString = contextId ;
GetCursorPos(& popup.pt);
popup.clrForeground = -1;
popup.clrBackground = -1;
popup.clrForeground = (COLORREF)-1;
popup.clrBackground = (COLORREF)-1;
popup.rcMargins.top = popup.rcMargins.left = popup.rcMargins.right = popup.rcMargins.bottom = -1;
popup.pszFont = NULL;
popup.pszText = NULL;
@@ -202,8 +202,8 @@ bool wxCHMHelpController::DisplayTextPopup(const wxString& text, const wxPoint&
popup.hinst = (HINSTANCE) wxGetInstance();
popup.idString = 0 ;
popup.pt.x = pos.x; popup.pt.y = pos.y;
popup.clrForeground = -1;
popup.clrBackground = -1;
popup.clrForeground = (COLORREF)-1;
popup.clrBackground = (COLORREF)-1;
popup.rcMargins.top = popup.rcMargins.left = popup.rcMargins.right = popup.rcMargins.bottom = -1;
popup.pszFont = NULL;
popup.pszText = (const wxChar*) text;