]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_cald.cpp
added timestamping to wxLogStream
[wxWidgets.git] / contrib / src / xml / xh_cald.cpp
index a17453184d8e1355bd1fb738b99adadc542eea40..723734d7c58788886bd9496188679a6a75840eb2 100644 (file)
@@ -54,7 +54,7 @@ wxObject *wxCalendarCtrlXmlHandler::DoCreateResource()
 
 bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("calendarctrl");
+    return IsOfClass(node, _T("wxCalendarCtrl"));
 }