backported wxRESERVE_SPACE_EVEN_IF_HIDDEN to 2.8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-03-04 17:46:43 +00:00
parent 98b9d9c98b
commit f891eca8c0
7 changed files with 86 additions and 7 deletions

View File

@@ -118,6 +118,8 @@ All (GUI):
- Added alpha support to wxImage::Paste() (Steven Van Ingelgem)
- Use current date when opening popup in generic wxDatePickerCtrl.
- Remove associated help text from wxHelpProvider when a window is destroyed.
- Added wxSizerFlags::ReserveSpaceEvenIfHidden() and
wxRESERVE_SPACE_EVEN_IF_HIDDEN sizer flag.
All (Unix):

View File

@@ -139,6 +139,11 @@ use that size to calculate the layout. This allows layouts to
adjust when an item changes and its \arg{best size} becomes
different. If you would rather have a window item stay the size it
started with then use wxFIXED\_MINSIZE.}
\twocolitem{\windowstyle{wxRESERVE\_SPACE\_EVEN\_IF\_HIDDEN}}{Normally wxSizers
don't allocate space for hidden windows or other items. This flag overrides
this behavior so that sufficient space is allocated for the window even if it
isn't visible. This makes it possible to dynamically show and hide controls
without resizing parent dialog, for example. \newsince{2.8.8}}
\twocolitem{\windowstyle{wxALIGN\_CENTER wxALIGN\_CENTRE}\\
\windowstyle{wxALIGN\_LEFT}\\
\windowstyle{wxALIGN\_RIGHT}\\
@@ -685,6 +690,17 @@ the window should be also set as its minimal size.
Sets the proportion of this wxSizerFlags to \arg{proportion}
\membersection{wxSizerFlags::ReserveSpaceEvenIfHidden}\label{wxsizerflagsreservespaceevenifhidden}
\func{wxSizerFlags\& }{ReserveSpaceEvenIfHidden}{\void}
Set the \texttt{wxRESERVE\_SPACE\_EVEN\_IF\_HIDDEN} flag. Normally wxSizers
don't allocate space for hidden windows or other items. This flag overrides
this behavior so that sufficient space is allocated for the window even if it
isn't visible. This makes it possible to dynamically show and hide controls
without resizing parent dialog, for example. \newsince{2.8.8}
\membersection{wxSizerFlags::Right}\label{wxsizerflagsright}
\func{wxSizerFlags\& }{Right}{\void}