(genericdirctrl is neat!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24941
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dirs.Add(eachFilename);
}
}
- while (d.GetNext(& eachFilename));
+ while (d.GetNext(&eachFilename));
}
}
dirs.Sort(wxDirCtrlStringCompareFunction);
if (d.IsOpened())
{
- if (d.GetFirst(& eachFilename, m_currentFilterStr, wxDIR_FILES))
+ int style = wxDIR_FILES;
+ if (m_showHidden) style |= wxDIR_HIDDEN;
+ if (d.GetFirst(& eachFilename, m_currentFilterStr, style))
{
do
{