Post size events to the event handler and not window itself.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2011 17:15:38 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2011 17:15:38 +0000 (17:15 +0000)
commitb83144c46f10877124002b22f35878176bb2fdbf
tree7edaf1867a245fb79d5b22d59adc84df054fee91
parentb78a53aca02d92b3334b40a94a322d467c75372c
Post size events to the event handler and not window itself.

Post the artificial wxSizeEvent to the window event handler and not window
itself in SendSizeEvent() as otherwise any event handlers wouldn't see this
event at all.

Closes #13066.

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