]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mslu.cpp
do nothing in Freeze/Thaw() if the window is hidden, otherwise the window is not...
[wxWidgets.git] / src / msw / mslu.cpp
index f6f373a965cae8e2b10c0c1b17b281e95a136eea..c830ecf70ef3e2d9f54d6dc5665f7143f877d660 100644 (file)
@@ -119,7 +119,7 @@ static void wxFixOPENFILENAME(LPOPENFILENAME ofn)
     if ( (ofn->Flags & OFN_ALLOWMULTISELECT) &&
          ofn->lpstrFile[ofn->nFileOffset-1] != wxT('\0') )
     {
-        if ( wxDirExists(ofn->lpstrFile) )
+        if ( wxPathExists(ofn->lpstrFile) )
         {
             // 1st component is dir => multiple files selected
             ofn->nFileOffset = wxStrlen(ofn->lpstrFile)+1;