X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf9d4c676605b0829ed8457e63e6ce4fd3196428..ba75e603f659f8f8bad71ba4d35658efe60d5de3:/src/msw/mslu.cpp diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index f6f373a965..c830ecf70e 100644 --- a/src/msw/mslu.cpp +++ b/src/msw/mslu.cpp @@ -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;