Set the window in focus event sent by wxComboCtrl correctly.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Dec 2010 14:00:31 +0000 (14:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Dec 2010 14:00:31 +0000 (14:00 +0000)
commit81ebc0419206ada0e32d9d8acd67940b93932855
tree6d863aefd5827725fb15c339b083fc765d9e9d87
parentcae374efb902a9b7f6911e97aa4cd4a2b7181e4c
Set the window in focus event sent by wxComboCtrl correctly.

The window parameter wasn't copied correctly in the forwarded event. Fix this
and avoid future problems of the same kind by using the copy ctor for creating
the new event and then override the fields that we need to change from the
original event instead of recreating the new event from bits and pieces of the
original one.

Closes #12741.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/combocmn.cpp