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:
@@ -86,7 +86,7 @@ bool MyApp::OnInit(void)
|
||||
#endif
|
||||
|
||||
// object allocation
|
||||
wxBrush* brush = new wxBrush(*wxRED);
|
||||
wxBrush* brush = new wxBrush(*wxRED_BRUSH);
|
||||
wxBitmap* bitmap = new wxBitmap(100, 100);
|
||||
|
||||
// non-object allocation
|
||||
|
Reference in New Issue
Block a user