http://bugs.winehq.org/show_bug.cgi?id=3882
Summary: Common dialong controls File open File save the filter option undocumented function. Does not work with more then one type of file. Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P1 Component: wine-gui AssignedTo: wine-bugs@winehq.org ReportedBy: pgr@arcelectronicsinc.com
In window 95 (only version handy) the filter select if set to two data types like "*.c *.h" works but fails on wine.
Resarching the win 3.1 API info included in Delhi 1 it requires a ";" between types. But tests of the file filter on Win 95 seem to suggest that space and semicolon are treated the same.
The common dialogs test program is located in wine/programs/cmdlgtst/cmdlgtst.c
This adding the two test cases
static const char ofn_filepat[] = "All Files (*.*)\0*.*\0\ Only Text Files (*.txt)\0*.txt\0\ Text and ini Files (*.c *.h)\0*.c *.h\0\ Text and ini Files (*.c;*.h)\0*.c;*.h\0";
I don't have any windows newer the 98se to test further.