X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecdce304e45bb8d8ba5596ba63f7c4df9b01ad96..8173fefe0a9d61cfe5244a301044aa2269bc1c31:/contrib/src/xml/xh_listc.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_listc.cpp b/contrib/src/xml/xh_listc.cpp index 1696ea425a..5b944bd5df 100644 --- a/contrib/src/xml/xh_listc.cpp +++ b/contrib/src/xml/xh_listc.cpp @@ -29,7 +29,6 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() { ADD_STYLE(wxLC_LIST); ADD_STYLE(wxLC_REPORT); - ADD_STYLE(wxLC_REPORT); ADD_STYLE(wxLC_ICON); ADD_STYLE(wxLC_SMALL_ICON); ADD_STYLE(wxLC_ALIGN_TOP); @@ -47,7 +46,7 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() wxObject *wxListCtrlXmlHandler::DoCreateResource() { - wxListCtrl *list = new wxListCtrl(m_ParentAsWindow, + wxListCtrl *list = new wxListCtrl(m_parentAsWindow, GetID(), GetPosition(), GetSize(), GetStyle(),