Fix reverting to standard cursor in widgets sample

Don't set the cursor to wxSTANDARD_CURSOR, but set it to wxNullCursor so the
default system cursor is used.
This commit is contained in:
Maarten Bent
2020-01-19 14:53:33 +01:00
parent a31cf55a8d
commit b3f259c99c
2 changed files with 4 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ struct WidgetAttributes
m_show = true;
m_dir = wxLayout_LeftToRight;
m_variant = wxWINDOW_VARIANT_NORMAL;
m_cursor = *wxSTANDARD_CURSOR;
m_cursor = wxNullCursor;
m_defaultFlags = wxBORDER_DEFAULT;
}