Don't generate events from wxMSW wxSpinCtrl::SetValue(wxString)
The function was documented to not generate the events, but actually did generate wxEVT_TEXT ones, even if it didn't generate wxEVT_SPINCTRL. This was inconsistent with wxGTK and generic wxSpinCtrlDouble used under MSW, so change this to avoid the unwanted events.
This commit is contained in:
@@ -115,7 +115,10 @@ Changes in behaviour not resulting in compilation errors
|
||||
- wxChoice::GetString() now consistently asserts when passed an invalid index.
|
||||
|
||||
- wxSpinCtrlDouble now always resets its value to GetMin() if an invalid text
|
||||
string is passed to its SetValue() after its creation.
|
||||
string is passed to its SetValue(wxString) overload after its creation.
|
||||
|
||||
- wxSpinCtrl::SetValue(wxString) overload doesn't generate any events with
|
||||
wxMSW, which was already the documented behaviour.
|
||||
|
||||
|
||||
Changes in behaviour which may result in build errors
|
||||
|
Reference in New Issue
Block a user