git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64543
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
// FIXME-VC6: remove this hack when VC6 is no longer supported
template <typename T>
*/
// FIXME-VC6: remove this hack when VC6 is no longer supported
template <typename T>
- bool CheckType(T* reserved = NULL);
+ bool CheckType(T* reserved = NULL) const;
*/
// FIXME-VC6: remove this hack when VC6 is no longer supported
template <typename T>
*/
// FIXME-VC6: remove this hack when VC6 is no longer supported
template <typename T>
- bool CheckType(T* = NULL)
+ bool CheckType(T* = NULL) const
{
return m_type->CheckType<T>();
}
{
return m_type->CheckType<T>();
}
-inline bool wxAnyValueType::CheckType(T* reserved)
+inline bool wxAnyValueType::CheckType(T* reserved) const
{
wxUnusedVar(reserved);
return wxAnyValueTypeImpl<T>::IsSameClass(this);
{
wxUnusedVar(reserved);
return wxAnyValueTypeImpl<T>::IsSameClass(this);