mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Native_File_Chooser_WIN32.cxx
void Fl_Native_File_Chooser::filter(const char *val) {
  _filter = strfree(_filter);
  clear_filters();
  if ( val ) {
    _filter = strnew(val);
    parse_filter(_filter);
  }
  add_filter("All Files", "*.*");	// always include 'all files' option

#ifdef DEBUG
  nullprint(_parsedfilt);
#endif /*DEBUG*/
}
// SET FILTER
//     Can be NULL if no filter needed
//
SET FILTER
Can be NULL if no filter needed
SET FILTER Can be NULL if no filter needed
void Fl_Native_File_Chooser::filter(const char *val) {
  _filter = strfree(_filter);
  clear_filters();
  if ( val ) {
    _filter = strnew(val);
    parse_filter(_filter);
  }
  add_filter("All Files", "*.*");	
#ifdef DEBUG
  nullprint(_parsedfilt);
#endif 
}
void Fl_Native_File_Chooser :: filter ( const char * val ) { _filter = strfree ( _filter ) ; clear_filters ( ) ; if ( val ) { _filter = strnew ( val ) ; parse_filter ( _filter ) ; } add_filter ( " " , " " ) ; #ifdef DEBUG nullprint ( _parsedfilt ) ; #endif }
SET FILTER
Can be NULL if no filter needed
SET FILTER Can be NULL if no filter needed
// always include 'all files' option /*DEBUG*/