]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/object.h
wxFrame::SetIcon()
[wxWidgets.git] / include / wx / object.h
index 178af1fb350df4da19bdc802777de233edc0438c..50667186a67b6647bbf20d4158519bbc58163f47 100644 (file)
@@ -135,7 +135,7 @@ wxObject* WXDLLEXPORT_CTORFN wxConstructorFor##name(void) \
 
 #endif
 
-#define IS_KIND_OF(obj, className) obj->IsKindOf(&className::class##name)
+#define IS_KIND_OF(obj, className) obj->IsKindOf(&className::class##className)
 
 // Unfortunately Borland seems to need this include.
 #ifdef __BORLANDC__