also call AddGrowableRow/Col() for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5dd238c6dd
commit
1808bb47b9
@ -44,7 +44,7 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
wxSizer* Handle_wxGridSizer();
|
wxSizer* Handle_wxGridSizer();
|
||||||
wxFlexGridSizer* Handle_wxFlexGridSizer();
|
wxFlexGridSizer* Handle_wxFlexGridSizer();
|
||||||
wxSizer* Handle_wxGridBagSizer();
|
wxGridBagSizer* Handle_wxGridBagSizer();
|
||||||
wxSizer* Handle_wxWrapSizer();
|
wxSizer* Handle_wxWrapSizer();
|
||||||
|
|
||||||
void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows);
|
void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows);
|
||||||
|
@ -223,7 +223,10 @@ wxObject* wxSizerXmlHandler::Handle_sizer()
|
|||||||
sizer = flexsizer;
|
sizer = flexsizer;
|
||||||
}
|
}
|
||||||
else if (m_class == wxT("wxGridBagSizer"))
|
else if (m_class == wxT("wxGridBagSizer"))
|
||||||
sizer = Handle_wxGridBagSizer();
|
{
|
||||||
|
flexsizer = Handle_wxGridBagSizer();
|
||||||
|
sizer = flexsizer;
|
||||||
|
}
|
||||||
else if (m_class == wxT("wxWrapSizer"))
|
else if (m_class == wxT("wxWrapSizer"))
|
||||||
sizer = Handle_wxWrapSizer();
|
sizer = Handle_wxWrapSizer();
|
||||||
|
|
||||||
@ -321,7 +324,7 @@ wxFlexGridSizer* wxSizerXmlHandler::Handle_wxFlexGridSizer()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
wxSizer* wxSizerXmlHandler::Handle_wxGridBagSizer()
|
wxGridBagSizer* wxSizerXmlHandler::Handle_wxGridBagSizer()
|
||||||
{
|
{
|
||||||
return new wxGridBagSizer(GetDimension(wxT("vgap")), GetDimension(wxT("hgap")));
|
return new wxGridBagSizer(GetDimension(wxT("vgap")), GetDimension(wxT("hgap")));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user