[wxPython-users] Subclass XRC & Two stage creation
甜瓜
littlesweetmelon at gmail.com
Wed Jan 2 18:09:53 PST 2008
Hi Robin,
It seems that the real world is much more complicated. I set
breakpoints in the handler and find that it has been invoked no matter
the event is EVT_WINDOW_CREATE, EVT_SIZE or EVT_PAINT. But only
EVT_PAINT works.
The behavior of color setting in EVT_WINDOW_CREATE, EVT_SIZE is
equivalent that ONLY self.VisitedColour is set. Furthermore, if there
is no URL info in XRC file and I put self.URL = ... in
EVT_WINDOW_CREATE, EVT_SIZE handler, it is useless. The control
behaves as no URL attached; my setting is overwritten by something.
Very strange eh?
I'm really confused... Could someone give me a insight explaination?
Thank you
---
ShenLei
More information about the wxpython-users
mailing list