- wxString extension = extensions[i];
-
- // Remove leading '*'
- if (extension.length() && (extension.GetChar(0) == '*'))
- extension = extension.Mid( 1 );
-
- // Remove leading '.'
- if (extension.length() && (extension.GetChar(0) == '.'))
- extension = extension.Mid( 1 );
-
- if ( extension.IsEmpty() )
+ wxString extensiongroup = extensions[i];
+ wxStringTokenizer tokenizer( extensiongroup , wxT(";") ) ;
+ while ( tokenizer.HasMoreTokens() )