X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..00b2a5df9502adfd9a14ce01ab603f7906984995:/contrib/src/xml/xh_listc.cpp diff --git a/contrib/src/xml/xh_listc.cpp b/contrib/src/xml/xh_listc.cpp index df2c2328c0..5b944bd5df 100644 --- a/contrib/src/xml/xh_listc.cpp +++ b/contrib/src/xml/xh_listc.cpp @@ -19,6 +19,7 @@ #pragma hdrstop #endif +#include "wx/textctrl.h" #include "wx/xml/xh_listc.h" #include "wx/listctrl.h" @@ -28,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); @@ -46,7 +46,7 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() wxObject *wxListCtrlXmlHandler::DoCreateResource() { - wxListCtrl *list = new wxListCtrl(m_ParentAsWindow, + wxListCtrl *list = new wxListCtrl(m_parentAsWindow, GetID(), GetPosition(), GetSize(), GetStyle(), @@ -63,5 +63,5 @@ wxObject *wxListCtrlXmlHandler::DoCreateResource() bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxListCtrl")); + return IsOfClass(node, wxT("wxListCtrl")); }