X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1678ad780265f08fc8b84d180c04ae3a9900b1bb..d355d3fe69153840d740469eddacc3336da2b5ae:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 178af1fb35..50667186a6 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -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__