]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mslu.cpp
The device origin can be set on WinCE, so use it and redefine conversion
[wxWidgets.git] / src / msw / mslu.cpp
index c830ecf70ef3e2d9f54d6dc5665f7143f877d660..f6f373a965cae8e2b10c0c1b17b281e95a136eea 100644 (file)
@@ -119,7 +119,7 @@ static void wxFixOPENFILENAME(LPOPENFILENAME ofn)
     if ( (ofn->Flags & OFN_ALLOWMULTISELECT) &&
          ofn->lpstrFile[ofn->nFileOffset-1] != wxT('\0') )
     {
-        if ( wxPathExists(ofn->lpstrFile) )
+        if ( wxDirExists(ofn->lpstrFile) )
         {
             // 1st component is dir => multiple files selected
             ofn->nFileOffset = wxStrlen(ofn->lpstrFile)+1;