[wxPython-users] Missing GetEventObject in colourselect

Jürgen Kareta python at kareta.de
Wed Feb 20 02:58:30 PST 2008


Robin Dunn schrieb:
> Jürgen Kareta wrote:
>> Hi,
>>
>> the colourselect module defines an custom Event: 
>> wxEVT_COMMAND_COLOURSELECT which doesn't provide the GetEventObject 
>> method. It was easy to append the method, but one question arise:
>>
>> The GetEventObject method is very basically and I expect it available 
>> for every Event. Is it worth to mention such minor things in the 
>> future and is it nessesary to submit a patch for them ?
>
>
> wxEVT_COMMAND_COLOURSELECT is not an event class, it is an event type 
> which is just a unique ID.  The event class is ColourSelectEvent which 
> derives from wx.PyCommandEvent so it will inherit a GetEventObject 
> method.  However it doesn't look like the code is setting the event 
> object when it sends the event.  I'll fix that.
>
>
sorry, for being that unprecise but as English is not my native 
language  it took me usually  a lot of attention to build readable 
sentences. Sometimes I lost the right definitions during this process. 
But be sure, if I could write better English, I would write novels here ;-)

And again, I don't like to give the nitpicker. It took me less than five 
minutes to fix it. So I don't have a reason to care about it further. 
What I like to know is, if it is adequately to report such things for 
the propose of making all modules more consistent or not ?








More information about the wxpython-users mailing list