Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Event Diagnostics

0 views
Skip to first unread message

dmoore

unread,
Oct 8, 2009, 10:39:47 AM10/8/09
to
Does anyone know of a simple tool or method for getting diagnostics
about wxWidgets events? I'm trying to improve the performance of a
large wxWidgets app that processes thousands (maybe millions?) of
events per second during certain tasks. It would be nice to be able to
get a log on which events are being handled and when during those
tasks.

Vadim Zeitlin

unread,
Oct 15, 2009, 8:53:09 PM10/15/09
to
On 2009-10-08, dmoore <damien...@gmail.com> wrote:
> Does anyone know of a simple tool or method for getting diagnostics
> about wxWidgets events?

I don't think anything like this exists. The best I can think of is to
override wxApp::FilterEvent() to record all the events which pass by it
(you'd better do it efficiently though as otherwise this can slow down the
GUI a lot). You could also override ProcessEvent() to see which events were
not handled at all.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

0 new messages