]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_stbmp.cpp
added timestamping to wxLogStream
[wxWidgets.git] / contrib / src / xml / xh_stbmp.cpp
index c3620d06c5bc5e0b5554923331dc1d97aa49ae95..4e654a4553fe6632be9e17117d9216691411886b 100644 (file)
@@ -46,7 +46,7 @@ wxObject *wxStaticBitmapXmlHandler::DoCreateResource()
 
 bool wxStaticBitmapXmlHandler::CanHandle(wxXmlNode *node)
 {
 
 bool wxStaticBitmapXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("staticbitmap");
+    return IsOfClass(node, _T("wxStaticBitmap"));
 }
 
 
 }