]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_sizer.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / xrc / xh_sizer.h
index 6c3992c7878c68de7bfb9be7477c7a77d008092b..d38f778d95f38605a2ed41534c3d0b6bf68e74a6 100644 (file)
@@ -27,13 +27,16 @@ public:
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 
     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;
 
 private:
     bool m_isInside;
     bool m_isGBS;
 
     wxSizer *m_parentSizer;
 
-    bool IsSizerNode(wxXmlNode *node);
 
     wxObject* Handle_sizeritem();
     wxObject* Handle_spacer();
 
     wxObject* Handle_sizeritem();
     wxObject* Handle_spacer();
@@ -47,6 +50,8 @@ private:
     wxGridBagSizer* Handle_wxGridBagSizer();
     wxSizer*  Handle_wxWrapSizer();
 
     wxGridBagSizer* Handle_wxGridBagSizer();
     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);
     void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows);
     wxGBPosition GetGBPos(const wxString& param);
     wxGBSpan GetGBSpan(const wxString& param);