[wx 2.8-4, gtk+-1.2.10-25,
gcc-3.2.2-5] wxFileExists can`t find existing files
Arash Razmjoo
a-razmjoo at hotmail.com
Wed Aug 1 05:50:25 PDT 2007
Installed wxGTK with configure options :--with-gtk
--with-unicode,--no-exeptions
I have an executeble and a GIF image in a same directory named
"logo.gif",and tried to check this file with:
wxString name(_T("logo.gif"));
if (!wxFileExists(name))
{wxMessageBox("Not found");}
and while running program,this message "Not found" appears.
I've checked length of what name.fn_str() returns with strlen((const char
*)name.fn_str() but it shows
8 as expected to be an ASCII string.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the wx-users
mailing list