X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afc0db8ca0bcae488ed7efa8ee3bcd873873a8d9..e62b7692622880d48b62f555c1e356883232956c:/include/wx/xrc/xh_sizer.h diff --git a/include/wx/xrc/xh_sizer.h b/include/wx/xrc/xh_sizer.h index 5d57d7ea66..e04947a14c 100644 --- a/include/wx/xrc/xh_sizer.h +++ b/include/wx/xrc/xh_sizer.h @@ -3,7 +3,6 @@ // Purpose: XML resource handler for wxBoxSizer // Author: Vaclav Slavik // Created: 2000/04/24 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -27,13 +26,16 @@ public: virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); +protected: + virtual wxSizer* DoCreateSizer(const wxString& name); + virtual bool IsSizerNode(wxXmlNode *node) const; + private: bool m_isInside; bool m_isGBS; wxSizer *m_parentSizer; - bool IsSizerNode(wxXmlNode *node); wxObject* Handle_sizeritem(); wxObject* Handle_spacer(); @@ -48,6 +50,7 @@ private: wxSizer* Handle_wxWrapSizer(); bool ValidateGridSizerChildren(); + void SetFlexibleMode(wxFlexGridSizer* fsizer); void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows); wxGBPosition GetGBPos(const wxString& param); wxGBSpan GetGBSpan(const wxString& param);