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:
Paul Cornett
2012-12-01 23:06:50 +00:00
parent 0856cb2562
commit ea92bb677d
14 changed files with 30 additions and 30 deletions

View File

@@ -1250,8 +1250,8 @@ void MyPanel::OnChangeColour(wxCommandEvent& WXUNUSED(event))
}
else
{
s_colOld = wxColour(wxT("red"));
SetBackgroundColour(wxT("white"));
s_colOld = *wxRED;
SetBackgroundColour(*wxWHITE);
m_lbSelectThis->SetForegroundColour(wxT("white"));
m_lbSelectThis->SetBackgroundColour(wxT("red"));