]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filename/filenametest.cpp
don't eat all events if m_maxLength is 0: this means no limit according to the docs...
[wxWidgets.git] / tests / filename / filenametest.cpp
index 84380c1b843246fa85b993a23cf7eda3f4487010..27ad3ae8700f531b99bbdca0b995c0787963df6e 100644 (file)
@@ -193,7 +193,7 @@ void FileNameTestCase::TestStrip()
 
 void FileNameTestCase::TestShortLongPath()
 {
-    wxFileName fn("C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe");
+    wxFileName fn(_T("C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe"));
 
     // incredibly enough, GetLongPath() used to return different results during
     // the first and subsequent runs, test for this