X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e16ceb3ca67315531e22417becb2df208529d599..af4d748440f97aa6e37ab44dfc3fd14b7f42868e:/src/generic/tipwin.cpp?ds=sidebyside diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index c64fa5a569..daea96f669 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -326,8 +326,8 @@ void wxTipWindowView::OnPaint(wxPaintEvent& WXUNUSED(event)) rect.height = size.y; // first filll the background - dc.SetBrush(wxBrush(GetBackgroundColour(), wxSOLID)); - dc.SetPen( wxPen(GetForegroundColour(), 1, wxSOLID) ); + dc.SetBrush(wxBrush(GetBackgroundColour(), wxBRUSHSTYLE_SOLID)); + dc.SetPen(wxPen(GetForegroundColour(), 1, wxPENSTYLE_SOLID)); dc.DrawRectangle(rect); // and then draw the text line by line