]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_sizer.h
Fixed parts of toolbar background not being drawn with older comctl32.dll.
[wxWidgets.git] / include / wx / xrc / xh_sizer.h
index 6c3992c7878c68de7bfb9be7477c7a77d008092b..5c941dea977eb2feda2a7706a69bedae5d3b268c 100644 (file)
@@ -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();
@@ -47,6 +50,7 @@ private:
     wxGridBagSizer* Handle_wxGridBagSizer();
     wxSizer*  Handle_wxWrapSizer();
 
+    bool ValidateGridSizerChildren();
     void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows);
     wxGBPosition GetGBPos(const wxString& param);
     wxGBSpan GetGBSpan(const wxString& param);