OS/2 updates to catch the port up with the rest of the library.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2003-04-15 21:08:31 +00:00
parent b823f462a1
commit 4f5c180eba
10 changed files with 305 additions and 1070 deletions

View File

@@ -79,7 +79,7 @@
#endif
#include <stdlib.h>
#include <ctype.h>
extern bool wxIsDriveAvailable(const wxString& dirName);
#endif // __WXPM__
#if defined(__WXMAC__)
@@ -530,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);
m_treeCtrl->SetItemHasChildren(id);
}
@@ -540,7 +540,7 @@ void wxGenericDirCtrl::SetupSections()
wxArrayInt icons;
size_t n, count = wxGetAvailableDrives(paths, names, icons);
for (n = 0; n < count; n++)
{
AddSection(paths[n], names[n], icons[n]);