[wxPython-users] Is this possible ?

Christopher Barker Chris.Barker at noaa.gov
Sat Dec 22 23:23:54 PST 2007


Stef Mientki wrote:
>>> def OnPaint(self, event):
>>>    event.Skip()
>>
>> I think you wan to put the Skip() at the end of the method, though you 
>> probably don't need it at all.
> I thought it didn't matter where the skip was positioned ??

hmm. from reading the docs, it looks like you're right. I guess putting 
it at the end is a convention, not a requirement. But I do think it's a 
bit more clear -- at the end is when it's going to do something.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list