]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_listc.cpp
fixed typo
[wxWidgets.git] / contrib / src / xml / xh_listc.cpp
index df2c2328c0b675dea4c784acff0b08bbc383defe..5b944bd5df3363ff91c8f8536b760fe28065633f 100644 (file)
@@ -19,6 +19,7 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#include "wx/textctrl.h"
 #include "wx/xml/xh_listc.h"
 #include "wx/listctrl.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_LIST);
     ADD_STYLE(wxLC_REPORT);
-    ADD_STYLE(wxLC_REPORT);
     ADD_STYLE(wxLC_ICON);
     ADD_STYLE(wxLC_SMALL_ICON);
     ADD_STYLE(wxLC_ALIGN_TOP);
     ADD_STYLE(wxLC_ICON);
     ADD_STYLE(wxLC_SMALL_ICON);
     ADD_STYLE(wxLC_ALIGN_TOP);
@@ -46,7 +46,7 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler()
 
 wxObject *wxListCtrlXmlHandler::DoCreateResource()
 { 
 
 wxObject *wxListCtrlXmlHandler::DoCreateResource()
 { 
-    wxListCtrl *list = new wxListCtrl(m_ParentAsWindow,
+    wxListCtrl *list = new wxListCtrl(m_parentAsWindow,
                                     GetID(),
                                     GetPosition(), GetSize(),
                                     GetStyle(),
                                     GetID(),
                                     GetPosition(), GetSize(),
                                     GetStyle(),
@@ -63,5 +63,5 @@ wxObject *wxListCtrlXmlHandler::DoCreateResource()
 
 bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
 
 bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return IsOfClass(node, _T("wxListCtrl"));
+    return IsOfClass(node, wxT("wxListCtrl"));
 }
 }