Generate wxEVT_SPINCTRL of the correct wxSpinEvent type.

Handlers for this event expect to get wxSpinEvent but wxMSW and wxGTK1 sent an
object of base wxCommandEvent class which resulted in invalid memory access in
the handlers when using the derived class methods such as Veto().

See #16948.
This commit is contained in:
Vadim Zeitlin
2015-04-10 16:37:46 +02:00
parent fa44ff601e
commit 46c335c8ef
4 changed files with 3 additions and 4 deletions

View File

@@ -615,6 +615,7 @@ wxMSW:
- Fix wxEVT_TREE_STATE_IMAGE_CLICK generation (Antal).
- Fix wxDV_ROW_LINES in horizontally scrolled wxDataViewCtrl.
- Fix RegisterHotKey() with negative IDs (troelsk).
- Fix event object type for wxEVT_SPINCTRL events.
wxOSX: