X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bf751e7e901fffb9ba9d850948915e33456524a..c8f04120ce8c8df04f85f12d7283fa13c369e859:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index 247c365f66..67e60c8551 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -97,9 +97,9 @@ const bool wxFalse = false; // E.g. is wxWindow a kind of wxObject? // Go from this class to superclass, taking into account // two possible base classes. -bool wxObject::IsKindOf(wxClassInfo *info) const +bool wxObject::IsKindOf(const wxClassInfo *info) const { - wxClassInfo *thisInfo = GetClassInfo(); + const wxClassInfo *thisInfo = GetClassInfo(); return (thisInfo) ? thisInfo->IsKindOf(info) : false ; }