projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleaned up the mess caused by FloodFill patch
[wxWidgets.git]
/
src
/
msw
/
statbox.cpp
diff --git
a/src/msw/statbox.cpp
b/src/msw/statbox.cpp
index a713c99cb5ea89aaa78f5389fedcbf12241cfe7b..fb017bd21924308f7369a5e449248974508dc7d0 100644
(file)
--- a/
src/msw/statbox.cpp
+++ b/
src/msw/statbox.cpp
@@
-79,6
+79,9
@@
bool wxStaticBox::Create(wxWindow *parent,
WS_EX_TRANSPARENT) )
return FALSE;
+ // to be transparent we should have the same colour as the parent as well
+ SetBackgroundColour(GetParent()->GetBackgroundColour());
+
return TRUE;
}