remove colour/pen/brush arguments which are the default in the samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1023,7 +1023,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
PrepareDC(dc);
|
||||
|
||||
// set background
|
||||
dc.SetBackground(wxBrush(wxT("white"), wxSOLID));
|
||||
dc.SetBackground(*wxWHITE_BRUSH);
|
||||
dc.Clear();
|
||||
dc.SetFont(m_font);
|
||||
|
||||
@@ -1105,7 +1105,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
}
|
||||
|
||||
// draw the lines between them
|
||||
dc.SetPen(wxPen(wxColour(wxT("blue")), 1, wxSOLID));
|
||||
dc.SetPen(*wxBLUE_PEN);
|
||||
int l;
|
||||
|
||||
// horizontal
|
||||
|
Reference in New Issue
Block a user