wxPathList and 2.7.0

Sylvain Togni "sylvain.togni at visionobjects.com" at a.mx.sunsite.dk
Mon Sep 4 07:50:31 PDT 2006


Hi,

I have some code like this:

    wxPathList pl;
    pl.Add("C:\\a");
    wxString s = pl.FindValidPath("b\\c.txt");

I'm on Windows, and the file "C:\\a\\b\\c.txt" exists.

With the 2.6.3, the result of FindValidPath was "C:\\a\\b\\c.txt".

With the 2.7.0, the result is an empty string. Is it a bug?

-- 
Sylvain Togni






More information about the wx-users mailing list