From 23929ff27fbc81829024cde0e8f1216d081da169 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 24 Aug 2021 22:29:02 +0200 Subject: [PATCH] Make preprocessor check in wxTextCtrl test more clear The condition guarding wxEVT_TEXT_URL test was changed to use wxHAS_2CHAR_NEWLINES in 15c5125572 (Refactoring, 2021-08-07) but shouldn't have been as this has nothing to do with the use of "\r\n" under MSW. No real changes. --- tests/controls/textctrltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/textctrltest.cpp b/tests/controls/textctrltest.cpp index 1fa1015897..f3a185ddbe 100644 --- a/tests/controls/textctrltest.cpp +++ b/tests/controls/textctrltest.cpp @@ -444,7 +444,7 @@ void TextCtrlTestCase::ProcessEnter() void TextCtrlTestCase::Url() { -#if wxUSE_UIACTIONSIMULATOR && wxHAS_2CHAR_NEWLINES +#if wxUSE_UIACTIONSIMULATOR && defined(__WXMSW__) && !defined(__WXUNIVERSAL__) // For some unfathomable reason, this test consistently fails when run in // AppVeyor CI environment, even though it passes locally, so skip it // there.