X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e16ceb3ca67315531e22417becb2df208529d599..9b66a1d31a32e9235792261db6ff755ce26ab5c1:/src/generic/tipwin.cpp 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