]> git.saurik.com Git - wxWidgets.git/commitdiff
don't inherit back- and foreground colour
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 28 Apr 2004 23:15:58 +0000 (23:15 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 28 Apr 2004 23:15:58 +0000 (23:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/gauge95.cpp

index 6e3a01a249357441c9a697a3a2bd944cf727f524..d2a7b58b2315b20df34e8297ae3167100d1c6920 100644 (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;