wxSizer does not take out border from hiden child.
|Reported by:||gszczesz||Owned by:|
|Keywords:||wxSizer border wxBoxSizer||Cc:||juliansmart|
If a sizer that contains children is hidden (using wxSizer->Show() command from a parent sizer), it's children disappear, but the border around it does not.
This happens only if the wxSizer contains, amongst other children, an empty sizer inside it.
If the child sizer contains wxWindows inside it, everything works fine. The the sizer does not contain a child sizer, everything works fine.
Attached is a minimal example that contains the following: A Frame with a top wxBoxSizer that contains:
(2)-> wxBoxSizer with text and an empty wxBoxSizer (25 border)
(3)-> wxBoxSizer with text and an empty wxBoxSizer (25 border)
Change History (4)
Changed 6 years ago by gszczesz
comment:2 Changed 6 years ago by vadz
- Cc juliansmart added
- Component changed from wxMSW to GUI-all
- Milestone set to 2.9.2
- Status changed from new to confirmed