//----------------------------------------------------------------------------
// wxFileDialogBase
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// wxFileDialogBase
//----------------------------------------------------------------------------
// if fileName is of form "foo.bar" it's ok, return it
int idx_dot = fileName.Find(wxT('.'), true);
// if fileName is of form "foo.bar" it's ok, return it
int idx_dot = fileName.Find(wxT('.'), true);
// if ext == "foo" or "foo." there's no extension
int idx_ext_dot = ext.Find(wxT('.'), true);
// if ext == "foo" or "foo." there's no extension
int idx_ext_dot = ext.Find(wxT('.'), true);