diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 1cb4fa0ff6..13ce543918 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -73,7 +73,7 @@ static void wxPGDrawFocusRect( wxDC& dc, const wxRect& rect ) #else dc.SetLogicalFunction(wxINVERT); - dc.SetPen(wxPen(*wxBLACK,1,wxDOT)); + dc.SetPen(wxPen(*wxBLACK,1,wxPENSTYLE_DOT)); dc.SetBrush(*wxTRANSPARENT_BRUSH); dc.DrawRectangle(rect);