]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
Ticket #1032 wxVariant::operator==(wxVariant& variant) has bad bug
[wxWidgets.git] / src / generic / tipwin.cpp
index c64fa5a569729e6077cf05a085a238c422aafe3f..daea96f6696f90d2c8df0bf9a412d3e1b18199e9 100644 (file)
@@ -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