From: Steve C. <stn...@xm...> - 2005-04-24 21:03:12
|
> > When I use openFileDialog(), the result returns an absolute path. > However, when I use saveFileDialog(), the result only returns the > filename but not the path. > > This is the case in my application as well as the dialog sample > (samples/dialogs/dialogs.py). > > > I'm using Mandrake 10.1, the latest PythonCard from CVS, and the following wxPython: > wxPython-common-gtk2-unicode-2.5.4.1-mdk101_py2.3 > wxPython2.5-gtk2-unicode-2.5.4.1-mdk101_py2.3 > Upgrading to the 2.5.5.1 release of wxPython cleared up the problem with saveFileDialog (it now returns the absolute path) But, after upgrading I get error messages from PythonCard apps with multicolumnlist controls. here's the stack trace: File "/home/stevec/sandbox/PythonCard/components/multicolumnlist.py", line 502, in _setItems self.resizeLastColumn(self.GetColumnWidth(numcols-1)) File "/usr/lib/python2.3/site-packages/wx-2.5.5-gtk2-unicode/wx/lib/mixins/listctrl.py", line 212, in resizeLastColumn self.resizeColumn(self, minWidth) TypeError: resizeColumn() takes exactly 2 arguments (3 given) If I comment-out line 502 of PythonCard/components/multicolumnlist.py, things appear to work OK. Upgrading to 2.5.5.1 also fixed another intermittent problem I was having. (when I set an Image control to a new file, on one set of images an error dialog would pop-up complaining about large files not being supported... I can't remember the exact message) -Steve |