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:
Vadim Zeitlin
2007-01-14 16:52:55 +00:00
parent fc2b0e31bb
commit d95527de9a
4 changed files with 39 additions and 0 deletions

View File

@@ -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; }