added wxSizerFlags::Shaped() and FixedMinSize() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fc2b0e31bb
commit
d95527de9a
@ -91,6 +91,10 @@ Major new features in 2.8 release
|
||||
2.8.2
|
||||
-----
|
||||
|
||||
All:
|
||||
|
||||
- Added wxSizerFlags::Shaped() and FixedMinSize() methods
|
||||
|
||||
wxMSW
|
||||
|
||||
- Fix lack of spin control update event when control lost focus
|
||||
|
@ -670,6 +670,14 @@ Aligns the object to the left, shortcut for \texttt{Align(wxALIGN\_LEFT)}
|
||||
\helpref{Align}{wxsizerflagsalign}
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::FixedMinSize}\label{wxsizerflagsfixedminsize}
|
||||
|
||||
\func{wxSizerFlags\& }{FixedMinSize}{\void}
|
||||
|
||||
Set the \texttt{wxFIXED\_MINSIZE} flag which indicates that the initial size of
|
||||
the window should be also set as its minimal size.
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::Proportion}\label{wxsizerflagsproportion}
|
||||
|
||||
\func{wxSizerFlags\& }{Proportion}{\param{int }{proportion = 0}}
|
||||
@ -688,6 +696,14 @@ Aligns the object to the right, shortcut for \texttt{Align(wxALIGN\_RIGHT)}
|
||||
\helpref{Align}{wxsizerflagsalign}
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::Shaped}\label{wxsizerflagsshaped}
|
||||
|
||||
\func{wxSizerFlags\& }{Shaped}{\void}
|
||||
|
||||
Set the \texttt{wx\_SHAPED} flag which indicates that the elements should
|
||||
always keep the fixed width to height ratio equal to its original value.
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::TripleBorder}\label{wxsizerflagstriplebleborder}
|
||||
|
||||
\func{wxSizerFlags\& }{TripleBorder}{\param{int }{direction = wxALL}}
|
||||
|
@ -153,6 +153,23 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
#if wxABI_VERSION >= 20802
|
||||
// setters for the others flags
|
||||
wxSizerFlags& Shaped()
|
||||
{
|
||||
m_flags |= wxSHAPED;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
wxSizerFlags& FixedMinSize()
|
||||
{
|
||||
m_flags |= wxFIXED_MINSIZE;
|
||||
|
||||
return *this;
|
||||
}
|
||||
#endif // wx 2.8.2+
|
||||
|
||||
// accessors for wxSizer only
|
||||
int GetProportion() const { return m_proportion; }
|
||||
int GetFlags() const { return m_flags; }
|
||||
|
@ -29,6 +29,8 @@
|
||||
global:
|
||||
# wxFileHistory::Set/GetBaseId()
|
||||
*wxFileHistory*etBaseId*;
|
||||
*wxSizerFlags*Shaped*;
|
||||
*wxSizerFlags*FixedMinSize*;
|
||||
};
|
||||
|
||||
# public symbols added in 2.8.1 (please keep in alphabetical order):
|
||||
|
Loading…
Reference in New Issue
Block a user