make IsKindOf() taking a const wxClassInfo* instead of a wxClassInfo*, just like the homonym method in wxClassInfo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-28 14:54:40 +00:00
parent cfbe561401
commit 303c6f20d2
2 changed files with 3 additions and 3 deletions

View File

@@ -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 ;
}