git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22143
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// interpret wildcards
wxArrayString wildDescriptions, wildFilters;
// interpret wildcards
wxArrayString wildDescriptions, wildFilters;
- int wild_count = ParseWildcard(m_wildCard, wildDescriptions, wildFilters);
- wxASSERT_MSG(wild_count > 0, wxT("Wrong file type descripition") );
+ if ( !ParseWildcard(m_wildCard, wildDescriptions, wildFilters) )
+ {
+ wxFAIL_MSG( wxT("Wrong file type descripition") );
+ }