+
+ else if (m_Node->GetName() == _T("gridsizer"))
+ sizer = new wxGridSizer(GetLong(_T("rows")), GetLong(_T("cols")),
+ GetDimension(_T("vgap")), GetDimension(_T("hgap")));
+
+ else if (m_Node->GetName() == _T("flexgridsizer"))
+ sizer = new wxFlexGridSizer(GetLong(_T("rows")), GetLong(_T("cols")),
+ GetDimension(_T("vgap")), GetDimension(_T("hgap")));
+
+ wxSize minsize = GetSize(_T("minsize"));
+ if (!(minsize == wxDefaultSize))
+ sizer->SetMinSize(minsize);
+