use stock colour/pen/brush objects in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -320,7 +320,7 @@ END_EVENT_TABLE()
|
||||
MyCanvas::MyCanvas(MyChild *parent, const wxPoint& pos, const wxSize& size)
|
||||
: wxScrolledWindow(parent, wxID_ANY, pos, size, wxSUNKEN_BORDER|wxVSCROLL|wxHSCROLL)
|
||||
{
|
||||
SetBackgroundColour(wxColour(wxT("WHITE")));
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
|
||||
m_child = parent;
|
||||
m_index = m_child->GetFrame()->GetCountOfChildren() % 9;
|
||||
|
Reference in New Issue
Block a user