added wxSizerSpacer and modified wxSizerItem to contain a pointer to either
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Mar 2005 21:17:38 +0000 (21:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Mar 2005 21:17:38 +0000 (21:17 +0000)
commit50c06297bd2a5b496a899198a5957755655ab43d
tree112567b105bc4ca6b3ac10c2415d448ef82cbc13
parent9d9ad67384e5dc658c4de46e49113c321489bf81
added wxSizerSpacer and modified wxSizerItem to contain a pointer to either
wxWindow, wxSizer or wxSizerSpacer (instead of containing either a pointer or
just wxSize for spacers) and implement IsShown() and Show() by forwarding it
to the appropriate pointer: this means that now you can directly hide/show
windows/sizers/spacers instead of having to pass by containing sizers
Show(child) method

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/sizer.h
src/common/sizer.cpp