From d0bf5fdb8f7f3bfee4950413b72bd0ee77c8c5e9 Mon Sep 17 00:00:00 2001 From: ali kettab Date: Tue, 3 Oct 2023 21:38:40 +0100 Subject: [PATCH] Use cursor type guaranteed to be supported on all platforms. The wxCURSOR_CHAR cursor type is not supported under wxQt and using it causes the test to fail there. --- tests/controls/windowtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/windowtest.cpp b/tests/controls/windowtest.cpp index 648fb6eacb..4dc30afb15 100644 --- a/tests/controls/windowtest.cpp +++ b/tests/controls/windowtest.cpp @@ -143,7 +143,7 @@ TEST_CASE_METHOD(WindowTestCase, "Window::FocusEvent", "[window]") TEST_CASE_METHOD(WindowTestCase, "Window::Mouse", "[window]") { - wxCursor cursor(wxCURSOR_CHAR); + wxCursor cursor(wxCURSOR_HAND); m_window->SetCursor(cursor); CHECK(m_window->GetCursor().IsOk());