Don't send wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED when nothing changed.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 6 May 2010 12:58:32 +0000 (12:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 6 May 2010 12:58:32 +0000 (12:58 +0000)
commit3a71210569f5cefca56cc2244d4a244e2649a8df
tree87f81a434c2cd4e0124bfa3d3371fbde3b6d5a35
parent5afb019a0c84f48fca79e99446b52866e41c379d
Don't send wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED when nothing changed.

The generic double spin control sent UPDATED events whenever it lost focus,
whether anything changed or not.

Don't send events unless the controls value has really changed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/spinctlg.h
src/generic/spinctlg.cpp