]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
Apart smartphones use choicebook when notebook is not available (like testing smartph...
[wxWidgets.git] / src / generic / dirctrlg.cpp
index ab912cea5024845a0240f2fe65a7d84e2bc915c3..d817f24c580823f61c1875c2393aa02c2d7d283f 100644 (file)
@@ -819,7 +819,7 @@ void wxGenericDirCtrl::ExpandDir(wxTreeItemId parentId)
             while(strTok.HasMoreTokens())
             {
                 curFilter = strTok.GetNextToken();
-                if (d.GetFirst(& eachFilename, m_currentFilterStr, style))
+                if (d.GetFirst(& eachFilename, curFilter, style))
                 {
                     do
                     {