#pragma hdrstop
#endif
+#include "wx/textctrl.h"
#include "wx/xml/xh_listc.h"
#include "wx/listctrl.h"
{
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);
wxObject *wxListCtrlXmlHandler::DoCreateResource()
{
- wxListCtrl *list = new wxListCtrl(m_ParentAsWindow,
+ wxListCtrl *list = new wxListCtrl(m_parentAsWindow,
GetID(),
GetPosition(), GetSize(),
GetStyle(),
bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("listctrl");
+ return IsOfClass(node, wxT("wxListCtrl"));
}