From: Robin Dunn Date: Fri, 7 Nov 2003 08:30:58 +0000 (+0000) Subject: Forgot to change the pos and span names X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ea0d8ca6e89a677871a214f5e4e8c50422a0cfb8 Forgot to change the pos and span names git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/xrc/xh_sizer.cpp b/contrib/src/xrc/xh_sizer.cpp index b1d0211177..5022ffb8f4 100644 --- a/contrib/src/xrc/xh_sizer.cpp +++ b/contrib/src/xrc/xh_sizer.cpp @@ -348,8 +348,8 @@ void wxSizerXmlHandler::SetSizerItemAttributes(wxSizerItem* sitem) if (m_isGBS) { wxGBSizerItem* gbsitem = (wxGBSizerItem*)sitem; - gbsitem->SetPos(GetGBPos(wxT("pos"))); - gbsitem->SetSpan(GetGBSpan(wxT("span"))); + gbsitem->SetPos(GetGBPos(wxT("cellpos"))); + gbsitem->SetSpan(GetGBSpan(wxT("cellspan"))); } } diff --git a/src/xrc/xh_sizer.cpp b/src/xrc/xh_sizer.cpp index b1d0211177..5022ffb8f4 100644 --- a/src/xrc/xh_sizer.cpp +++ b/src/xrc/xh_sizer.cpp @@ -348,8 +348,8 @@ void wxSizerXmlHandler::SetSizerItemAttributes(wxSizerItem* sitem) if (m_isGBS) { wxGBSizerItem* gbsitem = (wxGBSizerItem*)sitem; - gbsitem->SetPos(GetGBPos(wxT("pos"))); - gbsitem->SetSpan(GetGBSpan(wxT("span"))); + gbsitem->SetPos(GetGBPos(wxT("cellpos"))); + gbsitem->SetSpan(GetGBSpan(wxT("cellspan"))); } }