[wxPython-users] col labels not right, event firing after the fact?

Robin Dunn robin at alldunn.com
Mon Jul 23 11:21:20 PDT 2007


Tim doe wrote:
> hi in my example i want to increament the value in the "number" col by 1 
> when i left click, it seems to happen after my 2nd click not the first?

Does it always take 2 clicks or is it only the first one that gets lost?

> and how come even though i'm setting colLabels, i still only get the 
> default label values in my grid?

Because you need to override the GetColLabelValue and return the label 
string for the requested column from there.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list