wxWidgets/tests/events
Vadim Zeitlin 233666915e Use wxWindow::Refresh() instead of artificial wxPaintEvent in the test.
This fixes memory leaks under wxMSW: as the test code didn't (and couldn't)
call wxPaintDCImpl::EndPaint(), there was a leak for each wxPaintEvent
generated in it since the changes to wxDC caching in r72938.

It's also preferable because it uses public API instead of feeding events to
the window which is not documented to work.

Unfortunately even using Refresh() still doesn't allow the test to work under
wxOSX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-05 00:00:01 +00:00
..
clone.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
evthandler.cpp Fix crashes after using "wildcard" wxEvtHandler::Disconnect(). 2012-11-10 12:22:32 +00:00
evtsource.cpp Merge SOC2009_FSWATCHER branch into trunk. 2009-10-22 11:35:43 +00:00
keyboard.cpp Don't use Shift-TAB in keyboard test. 2012-10-24 00:25:09 +00:00
propagation.cpp Use wxWindow::Refresh() instead of artificial wxPaintEvent in the test. 2013-05-05 00:00:01 +00:00
stopwatch.cpp Increase the tolerance in wxStopWatch unit test. 2011-12-26 12:57:49 +00:00
timertest.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00