Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9c8046dded
commit
0a20646948
@ -498,7 +498,7 @@ public :
|
|||||||
template<typename T> T& Get()
|
template<typename T> T& Get()
|
||||||
{
|
{
|
||||||
wxxVariantDataT<T> *dataptr = dynamic_cast<wxxVariantDataT<T>*> (m_data) ;
|
wxxVariantDataT<T> *dataptr = dynamic_cast<wxxVariantDataT<T>*> (m_data) ;
|
||||||
wxASSERT_MSG( dataptr , "Cast not possible" ) ;
|
wxASSERT_MSG( dataptr , wxT("Cast not possible") ) ;
|
||||||
return dataptr->Get() ;
|
return dataptr->Get() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -506,7 +506,7 @@ public :
|
|||||||
template<typename T> const T& Get() const
|
template<typename T> const T& Get() const
|
||||||
{
|
{
|
||||||
const wxxVariantDataT<T> *dataptr = dynamic_cast<const wxxVariantDataT<T>*> (m_data) ;
|
const wxxVariantDataT<T> *dataptr = dynamic_cast<const wxxVariantDataT<T>*> (m_data) ;
|
||||||
wxASSERT_MSG( dataptr , "Cast not possible" ) ;
|
wxASSERT_MSG( dataptr , wxT("Cast not possible") ) ;
|
||||||
return dataptr->Get() ;
|
return dataptr->Get() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user