Problem with wx.GenericDirCtrl class.

Hello,

For the problem, please see screenshots attached.

Test on Windows 7, wxPython 2.8.11.0 and Python 2.7 or 2.6.

Works fine for the Drives “C:” and “F:”.

Bug for all other drives (sub folder).

Thank you and sorry for my english.
CJC.

files.rar (117 KB)

A_initial.png

B_crash.png

I guess logo.png is found on drives C and F but nowhere else? Either put logo.png into a folder that is in the same folder as your app, or convert logo.png to Python using img2py.

Che

···

On Tue, Dec 7, 2010 at 1:14 PM, jcie python jcie.python@gmail.com wrote:

Hello,

For the problem, please see screenshots attached.

Test on Windows 7, wxPython 2.8.11.0 and Python 2.7 or 2.6.

Works fine for the Drives “C:” and “F:”.

Bug for all other drives (sub folder).

Or don't use a relative path to the image file.

···

On 12/7/10 10:43 AM, C M wrote:

On Tue, Dec 7, 2010 at 1:14 PM, jcie python <jcie.python@gmail.com > <mailto:jcie.python@gmail.com>> wrote:

    Hello,

    For the problem, please see screenshots attached.

    Test on Windows 7, wxPython 2.8.11.0 and Python 2.7 or 2.6.

    Works fine for the Drives "C:" and "F:".

    Bug for all other drives (sub folder).

I guess logo.png is found on drives C and F but nowhere else? Either
put logo.png into a folder that is in the same folder as your app, or
convert logo.png to Python using img2py.

--
Robin Dunn
Software Craftsman