This PR expands what gets copied when the context menu from the Navigation Panel is used to change one type of a widget to another. The new behavior will copy the var_name if the node has class access and all identical events will have any declared handlers copied.
A special case is made when converting a wxComboBox to a wxChoice -- in this case any handler declared for wxEVT_COMBOBOX will be copied as a handler for wxEVT_CHOICE.
These changes are related to #1447 -- this should make it easier to switch read-only wxComboBoxes to wxChoice without having to change any of the underlying code.
This PR expands what gets copied when the context menu from the Navigation Panel is used to change one type of a widget to another. The new behavior will copy the var_name if the node has class access and all identical events will have any declared handlers copied.
A special case is made when converting a wxComboBox to a wxChoice -- in this case any handler declared for wxEVT_COMBOBOX will be copied as a handler for wxEVT_CHOICE.
These changes are related to #1447 -- this should make it easier to switch read-only wxComboBoxes to wxChoice without having to change any of the underlying code.