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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user