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:
Vadim Zeitlin
2015-04-10 16:15:56 +02:00
parent cbc3a5bbf2
commit ffcc18580e

View File

@@ -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()