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:
@@ -1233,10 +1233,8 @@ MyAutoScrollingWindow::DCNormalize(int x, int y, int w, int h)
|
||||
void MyAutoScrollingWindow::OnDraw(wxDC& dc)
|
||||
{
|
||||
dc.SetFont(m_font);
|
||||
wxBrush normBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)
|
||||
, wxSOLID);
|
||||
wxBrush selBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT)
|
||||
, wxSOLID);
|
||||
wxBrush normBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
||||
wxBrush selBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT));
|
||||
dc.SetPen(*wxTRANSPARENT_PEN);
|
||||
const wxString str = sm_testData;
|
||||
size_t strLength = str.length();
|
||||
|
Reference in New Issue
Block a user