[ 835171 ] Show hidden files in wxGenericDirCtrl

(genericdirctrl is neat!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2003-12-20 15:13:15 +00:00
parent dd12f8bbcf
commit 2b0a7c092c

View File

@@ -832,7 +832,9 @@ void wxGenericDirCtrl::ExpandDir(wxTreeItemId parentId)
if (d.IsOpened()) 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 do
{ {