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:
@@ -145,9 +145,6 @@ bool wxGauge95::Create(wxWindow *parent,
|
|||||||
if ( !MSWCreateControl(PROGRESS_CLASS, wxEmptyString, pos, size) )
|
if ( !MSWCreateControl(PROGRESS_CLASS, wxEmptyString, pos, size) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
SetBackgroundColour(parent->GetBackgroundColour());
|
|
||||||
SetForegroundColour(parent->GetForegroundColour());
|
|
||||||
|
|
||||||
SetRange(range);
|
SetRange(range);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user