sizer = flexsizer;
}
else if (m_class == wxT("wxGridBagSizer"))
- sizer = Handle_wxGridBagSizer();
+ {
+ flexsizer = Handle_wxGridBagSizer();
+ sizer = flexsizer;
+ }
else if (m_class == wxT("wxWrapSizer"))
sizer = Handle_wxWrapSizer();
}
-wxSizer* wxSizerXmlHandler::Handle_wxGridBagSizer()
+wxGridBagSizer* wxSizerXmlHandler::Handle_wxGridBagSizer()
{
return new wxGridBagSizer(GetDimension(wxT("vgap")), GetDimension(wxT("hgap")));
}