X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/638a0b2c729a7894735e4167dca971032409ffe6..4c7852186d48a5b8f406462c2c3fa020f0a052bb:/src/msw/helpchm.cpp diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index b730931d20..d8e5426f5a 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -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;