[wxPython] wxPyGridCellEditor.StartingKey question

Robin:

> One peculiarity - the very first char is not caught unless I click on the
> grid at least once.

Because the grid window must have focus for the hack to work. YOu could
probably get around that by hooking EVT_CHAR for the other component windows
too.

Yup. A strategic call to SetFocus() solves the problem.

> It seems as though wxGrid is still leaking memory. Is that right?
>

How are you seeing it?

On exit I get the following:

07:00:46 PM: There were memory leaks.
07:00:46 PM: ----- Memory dump -----
07:00:46 PM: wxEvtHandler at $115A990, size 48
07:00:46 PM:
07:00:46 PM: ----- Memory statistics -----
07:00:46 PM: 1 objects of class wxEvtHandler, total size 48
07:00:46 PM:
07:00:46 PM: Number of object items: 1
07:00:46 PM: Number of non-object items: 0
07:00:46 PM: Total allocated size: 48
07:00:46 PM:

I'm using Python 2.2 and wxPython 2.3.2.1.

(Why do my responses break the thread? Is it this silly hotmail client?)

Thanks!

Mark

···

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

> > It seems as though wxGrid is still leaking memory. Is that right?
> >
>
>How are you seeing it?

On exit I get the following:

07:00:46 PM: There were memory leaks.
07:00:46 PM: ----- Memory dump -----
07:00:46 PM: wxEvtHandler at $115A990, size 48
07:00:46 PM:

That's fixed already for 2.3.3.

···

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