don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -883,7 +883,7 @@ void wxGenericDirCtrl::ExpandDir(wxTreeItemId parentId)
|
||||
|
||||
// Add the sorted dirs
|
||||
size_t i;
|
||||
for (i = 0; i < dirs.Count(); i++)
|
||||
for (i = 0; i < dirs.GetCount(); i++)
|
||||
{
|
||||
eachFilename = dirs[i];
|
||||
path = dirName;
|
||||
@@ -912,7 +912,7 @@ void wxGenericDirCtrl::ExpandDir(wxTreeItemId parentId)
|
||||
// Add the sorted filenames
|
||||
if ((GetWindowStyle() & wxDIRCTRL_DIR_ONLY) == 0)
|
||||
{
|
||||
for (i = 0; i < filenames.Count(); i++)
|
||||
for (i = 0; i < filenames.GetCount(); i++)
|
||||
{
|
||||
eachFilename = filenames[i];
|
||||
path = dirName;
|
||||
|
Reference in New Issue
Block a user