X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afc0db8ca0bcae488ed7efa8ee3bcd873873a8d9..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/xrc/xh_sizer.h diff --git a/include/wx/xrc/xh_sizer.h b/include/wx/xrc/xh_sizer.h index 5d57d7ea66..d38f778d95 100644 --- a/include/wx/xrc/xh_sizer.h +++ b/include/wx/xrc/xh_sizer.h @@ -27,13 +27,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 +51,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);