From 125ccda1967a6859ac11beec1a932dc967c22b65 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Wed, 28 Apr 2004 23:15:58 +0000 Subject: [PATCH] don't inherit back- and foreground colour git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/gauge95.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 6e3a01a249..d2a7b58b23 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -145,9 +145,6 @@ bool wxGauge95::Create(wxWindow *parent, if ( !MSWCreateControl(PROGRESS_CLASS, wxEmptyString, pos, size) ) return false; - SetBackgroundColour(parent->GetBackgroundColour()); - SetForegroundColour(parent->GetForegroundColour()); - SetRange(range); return true; -- 2.50.0