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.
This commit is contained in:
Vadim Zeitlin
2021-08-24 22:29:02 +02:00
parent 8f9e679393
commit 23929ff27f

View File

@@ -444,7 +444,7 @@ void TextCtrlTestCase::ProcessEnter()
void TextCtrlTestCase::Url() 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 // For some unfathomable reason, this test consistently fails when run in
// AppVeyor CI environment, even though it passes locally, so skip it // AppVeyor CI environment, even though it passes locally, so skip it
// there. // there.