]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
Updated Scintilla to 1.52 (on the trunk this time too)
[wxWidgets.git] / src / generic / dirctrlg.cpp
index 63da7efddf0be173104122731c72c1b284752c41..891d11d7aa9472ab8f1cd516b7cb527d300c4367 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "wx/generic/dirctrlg.h"
 
 
 #include "wx/generic/dirctrlg.h"
 
+#include "wx/module.h"
 #include "wx/utils.h"
 #include "wx/button.h"
 #include "wx/layout.h"
 #include "wx/utils.h"
 #include "wx/button.h"
 #include "wx/layout.h"
@@ -78,7 +79,7 @@
 #endif
 #include <stdlib.h>
 #include <ctype.h>
 #endif
 #include <stdlib.h>
 #include <ctype.h>
-
+extern bool wxIsDriveAvailable(const wxString& dirName);
 #endif // __WXPM__
 
 #if defined(__WXMAC__)
 #endif // __WXPM__
 
 #if defined(__WXMAC__)
@@ -529,7 +530,7 @@ void wxGenericDirCtrl::AddSection(const wxString& path, const wxString& name, in
     wxDirItemData *dir_item = new wxDirItemData(path,name,TRUE);
 
     wxTreeItemId id = m_treeCtrl->AppendItem( m_rootId, name, imageId, -1, dir_item);
     wxDirItemData *dir_item = new wxDirItemData(path,name,TRUE);
 
     wxTreeItemId id = m_treeCtrl->AppendItem( m_rootId, name, imageId, -1, dir_item);
-            
+
     m_treeCtrl->SetItemHasChildren(id);
 }
 
     m_treeCtrl->SetItemHasChildren(id);
 }
 
@@ -539,7 +540,7 @@ void wxGenericDirCtrl::SetupSections()
     wxArrayInt icons;
 
     size_t n, count = wxGetAvailableDrives(paths, names, icons);
     wxArrayInt icons;
 
     size_t n, count = wxGetAvailableDrives(paths, names, icons);
-      
+
     for (n = 0; n < count; n++)
     {
         AddSection(paths[n], names[n], icons[n]);
     for (n = 0; n < count; n++)
     {
         AddSection(paths[n], names[n], icons[n]);