X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30dc34551bc893d879bb5e3a6969354066445fc9..19b44116d5c04181f9a20f92546cff26405ed115:/contrib/include/wx/xrc/xh_sizer.h diff --git a/contrib/include/wx/xrc/xh_sizer.h b/contrib/include/wx/xrc/xh_sizer.h index 59fb16f268..2e0ad9606a 100644 --- a/contrib/include/wx/xrc/xh_sizer.h +++ b/contrib/include/wx/xrc/xh_sizer.h @@ -16,6 +16,8 @@ #endif #include "wx/xrc/xmlres.h" +#include "wx/sizer.h" +#include "wx/gbsizer.h" class WXDLLEXPORT wxSizer; @@ -30,9 +32,27 @@ public: private: bool m_isInside; + bool m_isGBS; + wxSizer *m_parentSizer; bool IsSizerNode(wxXmlNode *node); + + wxObject* Handle_sizeritem(); + wxObject* Handle_spacer(); + wxObject* Handle_sizer(); + wxSizer* Handle_wxBoxSizer(); + wxSizer* Handle_wxStaticBoxSizer(); + wxSizer* Handle_wxGridSizer(); + wxSizer* Handle_wxFlexGridSizer(); + wxSizer* Handle_wxGridBagSizer(); + + void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows); + wxGBPosition GetGBPos(const wxString& param); + wxGBSpan GetGBSpan(const wxString& param); + wxSizerItem* MakeSizerItem(); + void SetSizerItemAttributes(wxSizerItem* sitem); + void AddSizerItem(wxSizerItem* sitem); };