- if (y+m_PosY+m_Height > view_y2) return;
-
- wxBrush mybrush(wxT("GREY"), (m_HasShading) ? wxTRANSPARENT : wxSOLID);
- wxPen mypen(wxT("GREY"), 1, wxSOLID);
+ wxBrush mybrush(wxT("GREY"), (m_HasShading) ? wxBRUSHSTYLE_TRANSPARENT : wxBRUSHSTYLE_SOLID);
+ wxPen mypen(wxT("GREY"), 1, wxPENSTYLE_SOLID);