]> git.saurik.com Git - wxWidgets.git/commit - tests/any/anytest.cpp
Allow wxAny to contain 'const char*' or 'const wchar_t*'. This was previously not...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 22 Apr 2010 13:51:38 +0000 (13:51 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 22 Apr 2010 13:51:38 +0000 (13:51 +0000)
commit153107b4021fe0e6c3ad2ed510d3225f138eee83
tree39792dcc846c17a3e21875579fe051e594a1f602
parenta96160b58fb552c445de9569c0a891a8a15ab239
Allow wxAny to contain 'const char*' or 'const wchar_t*'. This was previously not possible since these pointers were converted to wxString, as convenient means to work with string literals. Now pointers (to string literals) are stored instead, and As<wxString>(), comparison operators do the type conversion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/any.h
include/wx/variant.h
interface/wx/any.h
src/common/any.cpp
src/common/variant.cpp
tests/any/anytest.cpp