+ // do the default processing
+ return 0;
+}
+
+// ----------------------------------------------------------------------------
+// wxFileDialog
+// ----------------------------------------------------------------------------
+
+wxFileDialog::wxFileDialog(wxWindow *parent,
+ const wxString& message,
+ const wxString& defaultDir,
+ const wxString& defaultFileName,
+ const wxString& wildCard,
+ long style,
+ const wxPoint& pos)
+ : wxFileDialogBase(parent, message, defaultDir, defaultFileName,
+ wildCard, style, pos)
+
+{
+ if ( ( m_dialogStyle & wxMULTIPLE ) && ( m_dialogStyle & wxSAVE ) )
+ m_dialogStyle &= ~wxMULTIPLE;
+
+ m_bMovedWindow = false;
+
+ // Must set to zero, otherwise the wx routines won't size the window
+ // the second time you call the file dialog, because it thinks it is
+ // already at the requested size.. (when centering)
+ gs_rectDialog.x =
+ gs_rectDialog.y = 0;
+
+}
+void wxFileDialog::GetPaths(wxArrayString& paths) const
+{
+ paths.Empty();
+
+ wxString dir(m_dir);
+ if ( m_dir.Last() != _T('\\') )
+ dir += _T('\\');
+
+ size_t count = m_fileNames.GetCount();
+ for ( size_t n = 0; n < count; n++ )