git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44540
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// format and gcc would warn about this otherwise
r = wxUnsafeSnprintf(buffer, size,
// format and gcc would warn about this otherwise
r = wxUnsafeSnprintf(buffer, size,
- "unicode string: %ls %lc - ansi string: %hs %hc\n\n",
+ _T("unicode string: %ls %lc - ansi string: %hs %hc\n\n"),
L"unicode!!", L'W', "ansi!!", 'w');
CPPUNIT_ASSERT( r != -1 );
CPPUNIT_ASSERT_EQUAL(
L"unicode!!", L'W', "ansi!!", 'w');
CPPUNIT_ASSERT( r != -1 );
CPPUNIT_ASSERT_EQUAL(