-
I tried to put an OLV on a panel using XRCed, by subclassing a ListCtrl as ObjectListView.ObjectListView. This fails when trying to load the XRC. Robin suggested that the problem might be that OLV doesn't work well with 2-phase creation, which all standard wx controls are set up for. Here's a quote from him on the wxpython-users list, in a message of 26 Sep 2008 at 11:07:
The general recipe...
2008-09-26 22:03:53 UTC in ObjectListView
-
During implementation of an app using OLV, I noticed that, when I cancelled an edit with ESC, I got a message "NameError: global name 'rowModel' is not defined" on line 2137 of ObjectListView.py (this is in 1.2).
I was able to fix it (at least stop the error message) by copying the line "rowModel = self.GetObjectAt(rowIndex)" from FinishCellEdit into CancelCellEdit. I don't know if this...
2008-09-26 22:00:08 UTC in ObjectListView
-
Win32 CreateProcess requires that the environment block be sorted alphabetically, case-insensitive. This isn't currently done by win32process, so subprocesses won't see all the environment vars in the dictionary. See the thread around http://mail.python.org/pipermail/python-dev/2004-October/049656.html
for a discussion of this, and how to solve it.
(This also affects the Popen class in the...
2007-03-23 22:20:34 UTC in Python for Windows extensions