]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/volume.cpp
Style listbox now shows current style
[wxWidgets.git] / src / msw / volume.cpp
index 5da2655208e615336b33857b5481d01464832b7a..3a1fa48ec11c9c172ddb824261e33d47a09ae7ac 100644 (file)
 #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 <shellapi.h>
 #include <shlobj.h>
-#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('\\');