warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -871,8 +871,10 @@ wxGenericFileDialog::wxGenericFileDialog(wxWindow *parent,
|
||||
|
||||
// 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") );
|
||||
}
|
||||
|
||||
// layout
|
||||
|
||||
|
Reference in New Issue
Block a user