Backported filter fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1192,6 +1192,11 @@ void wxGenericDirCtrl::SetFilter(const wxString& filter)
|
|||||||
#else
|
#else
|
||||||
m_currentFilterStr = wxT("*.*");
|
m_currentFilterStr = wxT("*.*");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// current filter index is meaningless after filter change, set it to zero
|
||||||
|
SetFilterIndex(0);
|
||||||
|
if (m_filterListCtrl)
|
||||||
|
m_filterListCtrl->FillFilterList(m_filter, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extract description and actual filter from overall filter string
|
// Extract description and actual filter from overall filter string
|
||||||
|
Reference in New Issue
Block a user