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:
@@ -215,7 +215,7 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
|
||||
// This reduces flicker effects - even better would be to define
|
||||
// OnEraseBackground to do nothing. When the tree control's scrollbars are
|
||||
// show or hidden, the frame is sent a background erase event.
|
||||
SetBackgroundColour(wxColour(255, 255, 255));
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
|
||||
// Give it an icon
|
||||
SetIcon(wxICON(sample));
|
||||
|
Reference in New Issue
Block a user