X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f910f4d5cb822dddfda3d5be2f749d36ece5911f..d9fb481c56002b3f8fcda13069e0890d33a00511:/interface/wx/object.h diff --git a/interface/wx/object.h b/interface/wx/object.h index c33355f97f..ea7f553a52 100644 --- a/interface/wx/object.h +++ b/interface/wx/object.h @@ -251,7 +251,7 @@ public: @return @true if the class represented by info is the same class as this one or is derived from it. */ - bool IsKindOf(wxClassInfo* info); + bool IsKindOf(const wxClassInfo* info) const; /** Returns @true if this object has the same data pointer as @a obj. @@ -263,7 +263,7 @@ public: @see @ref overview_refcount */ - bool IsSameAs(const wxObject& obj); + bool IsSameAs(const wxObject& obj) const; /** Makes this object refer to the data in @a clone.