Skip to content

Commit e3d210d

Browse files
committed
fixup! Implement wxTextCtrl::SearchText() in wxQt
1 parent e9ae3e6 commit e3d210d

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

tests/allheaders.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,4 +421,10 @@ TEST_CASE("wxNO_IMPLICIT_WXSTRING_ENCODING", "[string]")
421421
wxPLURAL("singular", "plural", 2);
422422
wxGETTEXT_IN_CONTEXT("context", "text");
423423
wxGETTEXT_IN_CONTEXT_PLURAL("context", "singular", "plural", 3);
424+
425+
// Also wide strings can be used:
426+
_(L"item");
427+
wxGETTEXT_IN_CONTEXT(L"context", L"item");
428+
wxPLURAL(L"sing", L"plur", 3);
429+
wxGETTEXT_IN_CONTEXT_PLURAL(L"context", L"sing", L"plur", 3);
424430
}

tests/intl/intltest.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -796,14 +796,4 @@ TEST_CASE("wxUILocale::ShowSystem", "[.]")
796796
WARN("Preferred UI languages:\n" << preferredLangsStr);
797797
}
798798

799-
// Not an actual test, but a way to ensure that wide string versions
800-
// of translation macros are available and successfully compile.
801-
static void EnsureWideStringVersionsOfMacrosExist() {
802-
// Also wide strings can be used:
803-
_(L"item");
804-
wxGETTEXT_IN_CONTEXT(L"context", L"item");
805-
wxPLURAL(L"sing", L"plur", 3);
806-
wxGETTEXT_IN_CONTEXT_PLURAL(L"context", L"sing", L"plur", 3);
807-
}
808-
809799
#endif // wxUSE_INTL

0 commit comments

Comments
 (0)