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:
		| @@ -534,7 +534,7 @@ public: | ||||
|         return *this; | ||||
|     } | ||||
|  | ||||
|     bool IsKindOf(wxClassInfo *info) const; | ||||
|     bool IsKindOf(const wxClassInfo *info) const; | ||||
|  | ||||
|  | ||||
|     // Turn on the correct set of new and delete operators | ||||
|   | ||||
| @@ -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 ; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user