X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27b2dd53f629a78266c51d1b0b5db918401dcd4f..aacd14428971b5e199f88597f76a895c68dd298f:/src/msw/mslu.cpp diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index c830ecf70e..f6f373a965 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 ( wxPathExists(ofn->lpstrFile) ) + if ( wxDirExists(ofn->lpstrFile) ) { // 1st component is dir => multiple files selected ofn->nFileOffset = wxStrlen(ofn->lpstrFile)+1;