diff --git a/include/wx/xti.h b/include/wx/xti.h index 0477ea5f64..afb6d7cb9b 100644 --- a/include/wx/xti.h +++ b/include/wx/xti.h @@ -498,7 +498,7 @@ public : template T& Get() { wxxVariantDataT *dataptr = dynamic_cast*> (m_data) ; - wxASSERT_MSG( dataptr , "Cast not possible" ) ; + wxASSERT_MSG( dataptr , wxT("Cast not possible") ) ; return dataptr->Get() ; } @@ -506,7 +506,7 @@ public : template const T& Get() const { const wxxVariantDataT *dataptr = dynamic_cast*> (m_data) ; - wxASSERT_MSG( dataptr , "Cast not possible" ) ; + wxASSERT_MSG( dataptr , wxT("Cast not possible") ) ; return dataptr->Get() ; }