Really fix use of wxTranslateFromUnicodeFormat() in the unit test.
Update the function declaration in the test too. (Really) closes #16118.
This commit is contained in:
@@ -1449,7 +1449,9 @@ void DateTimeTestCase::TestDateOnly()
|
|||||||
CPPUNIT_ASSERT_EQUAL( wxDateTime::Today(), wxDateTime::Now().GetDateOnly() );
|
CPPUNIT_ASSERT_EQUAL( wxDateTime::Today(), wxDateTime::Now().GetDateOnly() );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Forward declaration
|
// This function is defined in src/common/intl.cpp and as it is not public we
|
||||||
|
// need to declare it here explicitly.
|
||||||
|
WXDLLIMPEXP_BASE
|
||||||
wxString wxTranslateFromUnicodeFormat(const wxString& fmt);
|
wxString wxTranslateFromUnicodeFormat(const wxString& fmt);
|
||||||
|
|
||||||
void DateTimeTestCase::TestTranslateFromUnicodeFormat()
|
void DateTimeTestCase::TestTranslateFromUnicodeFormat()
|
||||||
|
Reference in New Issue
Block a user