]> 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 5e980a478f1113e6a8e9522909cb6f3a93bbc6b7..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*/