From cbc3a5bbf2a9887b57e9da68cf8ceaff49b0816a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 10 Apr 2015 16:15:56 +0200 Subject: [PATCH] Export wxTranslateFromUnicodeFormat() from DLL to allow testing it. This should fix the build after adding the unit tests for this function in adbc9863b227146a0bdb35a5b85d3f030f2547c0. Closes #16118. --- src/common/intl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 9ae59c0bd8..ed6f4e0919 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1158,6 +1158,9 @@ bool IsAtTwoSingleQuotes(const wxString& fmt, wxString::const_iterator p) // to strftime()-like syntax. This translation is not lossless but we try to do // our best. +// The function is only exported because it is used in the unit test, it is not +// part of the public API. +WXDLLIMPEXP_BASE wxString wxTranslateFromUnicodeFormat(const wxString& fmt) { wxString fmtWX;