X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..5267aefd85739afd26bd19bfba998005119db446:/interface/wx/object.h?ds=sidebyside diff --git a/interface/wx/object.h b/interface/wx/object.h index 6a7ff2de52..55814598ef 100644 --- a/interface/wx/object.h +++ b/interface/wx/object.h @@ -125,7 +125,7 @@ protected: It's declared @c protected so that wxObjectRefData instances will never be destroyed directly but only as result of a DecRef() call. */ - ~wxObjectRefData(); + virtual ~wxObjectRefData(); public: /** @@ -378,17 +378,17 @@ public: /** Returns the name of the first base class (@NULL if none). */ - wxChar* GetBaseClassName1() const; + const wxChar* GetBaseClassName1() const; /** Returns the name of the second base class (@NULL if none). */ - wxChar* GetBaseClassName2() const; + const wxChar* GetBaseClassName2() const; /** Returns the string form of the class name. */ - wxChar* GetClassName() const; + const wxChar* GetClassName() const; /** Returns the size of the class. @@ -409,7 +409,7 @@ public: /** Returns @true if this class is a kind of (inherits from) the given class. */ - bool IsKindOf(wxClassInfo* info); + bool IsKindOf(const wxClassInfo* info) const; };