mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-26 01:28:38 +08:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user