From a6ba2245efab06bbb05a2c8cdc6d5f2eb8ceae67 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 28 Jun 2017 07:22:54 +0200 Subject: [PATCH] Redo Use implicit wxColour to wxBrush conversion --- samples/drawing/drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index f8d6585960..a4c6a40a00 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -1788,7 +1788,7 @@ void MyCanvas::Draw(wxDC& pdc) return; } - gdc.SetBackground(wxBrush(GetBackgroundColour(),wxBRUSHSTYLE_SOLID)); + gdc.SetBackground(GetBackgroundColour()); gdc.SetGraphicsContext(context); }