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-15 00:10:02 +01:00
parent 7e360dcf1e
commit d0bf5fdb8f
+1 -1
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());