X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64c288fa47480385ad656ae3249b5b131340c1d6..754273b6974634114f3821fdbbef8db01b4ff629:/src/msw/volume.cpp?ds=sidebyside diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index 5da2655208..3a1fa48ec1 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -26,14 +26,15 @@ #if wxUSE_FSVOLUME #ifndef WX_PRECOMP + #include "wx/msw/missing.h" #if wxUSE_GUI #include "wx/icon.h" #endif #include "wx/intl.h" + #include "wx/hashmap.h" #endif // WX_PRECOMP #include "wx/dir.h" -#include "wx/hashmap.h" #include "wx/dynlib.h" #include "wx/arrimpl.cpp" @@ -41,7 +42,6 @@ #include #include -#include "wx/msw/missing.h" #if wxUSE_BASE @@ -262,7 +262,7 @@ static void BuildListFromNN(wxArrayString& list, NETRESOURCE* pResSrc, { wxString filename(pRes->lpRemoteName); - if (filename.Len()) + if (!filename.empty()) { if (filename.Last() != '\\') filename.Append('\\');