X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1e10a22b6a2f859d23024bdb57f84665f66f89e..e215c9959cfae9db319cbca376553301dfa17cf1:/src/common/object.cpp?ds=sidebyside diff --git a/src/common/object.cpp b/src/common/object.cpp index 301b632556..67e60c8551 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -21,6 +21,7 @@ #include "wx/object.h" #include "wx/hash.h" #include "wx/memory.h" + #include "wx/crt.h" #endif #include @@ -96,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 ; }