PrepareDC(dc);
// set background
- dc.SetBackground(wxBrush(wxT("white"), wxSOLID));
+ dc.SetBackground(*wxWHITE_BRUSH);
dc.Clear();
dc.SetFont(m_font);
}
// draw the lines between them
- dc.SetPen(wxPen(wxColour(wxT("blue")), 1, wxSOLID));
+ dc.SetPen(*wxBLUE_PEN);
int l;
// horizontal