don't inherit back- and foreground colour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth 2004-04-28 23:15:58 +00:00
parent 88a31a7071
commit 125ccda196

View File

@ -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;