Fix building tests with wxUSE_UNSAFE_WXSTRING_CONV==0
Avoid relying on implicit conversions to std::string in the tests code.
This commit is contained in:
@@ -1247,7 +1247,7 @@ void MBConvTestCase::TestStreamDecoder(
|
||||
{
|
||||
wxChar wc = textInputStream.GetChar();
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE(
|
||||
std::string(wxString::Format("At position %lu", (unsigned long)i)),
|
||||
wxString::Format("At position %lu", (unsigned long)i).ToStdString(),
|
||||
wideBuffer[i],
|
||||
wc
|
||||
);
|
||||
|
Reference in New Issue
Block a user