X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed31dd079a53398a05a9c9b13ef645e3fd83d137..259c43f679ca655362b5a439e11c87fc0666d663:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 38f714596c..35ff626b4e 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -13,10 +13,6 @@ #ifndef _WX_OBJECTH__ #define _WX_OBJECTH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "object.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -191,7 +187,7 @@ inline void wxClassInfo::CleanUpClasses() {} wxIMPLEMENT_CLASS_COMMON(name, basename, NULL, func) #define wxIMPLEMENT_CLASS_COMMON2(name, basename1, basename2, func) \ - wxIMPLEMENT_CLASS_COMMON(name, basename1, &basename2::ms_classInfo) + wxIMPLEMENT_CLASS_COMMON(name, basename1, &basename2::ms_classInfo, func) // ----------------------------------- // for concrete classes @@ -409,9 +405,9 @@ public: virtual ~wxObject() { UnRef(); } wxObject(const wxObject& other) - { - InitFrom(other); - } + { + InitFrom(other); + } wxObject& operator=(const wxObject& other) {