]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_cald.cpp
added 'name' to wxEditableListBox ctor
[wxWidgets.git] / contrib / src / xml / xh_cald.cpp
index 723734d7c58788886bd9496188679a6a75840eb2..dbd0a05122bfd5dcd726b4761f0b6fd031bed4c6 100644 (file)
@@ -20,6 +20,7 @@
 #endif
 
 #include "wx/xml/xh_cald.h"
+#include "wx/event.h"
 #include "wx/calctrl.h"
 
 
@@ -37,7 +38,7 @@ wxCalendarCtrlXmlHandler::wxCalendarCtrlXmlHandler()
 
 wxObject *wxCalendarCtrlXmlHandler::DoCreateResource()
 { 
-    wxCalendarCtrl *calendar = new wxCalendarCtrl(m_ParentAsWindow,
+    wxCalendarCtrl *calendar = new wxCalendarCtrl(m_parentAsWindow,
                                     GetID(),
                                     wxDefaultDateTime,
                                     /*TODO: take it from resource*/
@@ -54,7 +55,7 @@ wxObject *wxCalendarCtrlXmlHandler::DoCreateResource()
 
 bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return IsOfClass(node, _T("wxCalendarCtrl"));
+    return IsOfClass(node, wxT("wxCalendarCtrl"));
 }