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.
This commit is contained in:
ali kettab 2023-10-03 21:38:40 +01:00
parent 7e360dcf1e
commit d0bf5fdb8f

View file

@ -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());