Page 1 of 1

Custom event handler can't catch wxPaintEvent?

Posted: Thu Oct 30, 2008 3:25 am
by bloodlee
Hi, all.

I wrote a custome event handler and try to catch the wxPaintEvent. Code:

Code: Select all

BEGIN_EVENT_TABLE(....)
EVT_PAINT(...)
END_EVENT_TABLE()
In XP, it's OK. But when using wxGTK, I failed.

Any suggestions?

Thanks. :)

Posted: Thu Oct 30, 2008 8:48 am
by bloodlee
Sorry, that's my code mistake.