Compilation fix for wxAnyTestCase in ANSI-only build.
Comparison of wxAny with wide strings is not available in this case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
da569065d8
commit
486b9734e8
1 changed files with 2 additions and 0 deletions
|
|
@ -563,7 +563,9 @@ void wxAnyTestCase::wxVariantConversions()
|
|||
res = any.GetAs(&variant);
|
||||
CPPUNIT_ASSERT(res);
|
||||
CPPUNIT_ASSERT(variant.GetType() == "string");
|
||||
#if wxUSE_UNICODE
|
||||
CPPUNIT_ASSERT(variant.GetString() == L"ABC");
|
||||
#endif
|
||||
|
||||
any = vDouble;
|
||||
double d = wxANY_AS(any, double);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue