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:
parent
7e360dcf1e
commit
d0bf5fdb8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue