From: Dimitri Schoolwerth Date: Wed, 28 Apr 2004 23:15:58 +0000 (+0000) Subject: don't inherit back- and foreground colour X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/125ccda1967a6859ac11beec1a932dc967c22b65?ds=inline don't inherit back- and foreground colour git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;