]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dir.cpp
Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to fix tree and list control selection rendering.
[wxWidgets.git] / src / msw / dir.cpp
index 81c312e825794dc1490a35e17080e3cb223fe7cf..48d4e4e0a5fec7e000eefc69cb4bb6de4e6fa608 100644 (file)
@@ -67,7 +67,7 @@ inline void FreeFindData(FIND_DATA fd)
 inline FIND_DATA FindFirst(const wxString& spec,
                            FIND_STRUCT *finddata)
 {
-    return ::FindFirstFile(spec.fn_str(), finddata);
+    return ::FindFirstFile(spec.t_str(), finddata);
 }
 
 inline bool FindNext(FIND_DATA fd, FIND_STRUCT *finddata)