1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2002-12-04 09:11:26 -05:00
|
|
|
// Name: wx/msw/filedlg.h
|
1998-05-20 10:12:05 -04:00
|
|
|
// Purpose: wxFileDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
1999-01-24 18:31:39 -05:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_FILEDLG_H_
|
|
|
|
#define _WX_FILEDLG_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2003-08-09 08:38:21 -04:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
1999-12-06 19:48:45 -05:00
|
|
|
#pragma interface "filedlg.h"
|
1998-05-20 10:12:05 -04:00
|
|
|
#endif
|
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// wxFileDialog
|
|
|
|
//-------------------------------------------------------------------------
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
|
|
|
public:
|
2002-12-04 09:11:26 -05:00
|
|
|
wxFileDialog(wxWindow *parent,
|
|
|
|
const wxString& message = wxFileSelectorPromptStr,
|
|
|
|
const wxString& defaultDir = wxEmptyString,
|
|
|
|
const wxString& defaultFile = wxEmptyString,
|
|
|
|
const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
|
|
|
|
long style = 0,
|
|
|
|
const wxPoint& pos = wxDefaultPosition);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
virtual void SetPath(const wxString& path);
|
|
|
|
virtual void GetPaths(wxArrayString& paths) const;
|
1999-12-06 19:48:45 -05:00
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
virtual int ShowModal();
|
1999-01-24 18:31:39 -05:00
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
private:
|
1999-12-06 19:48:45 -05:00
|
|
|
wxArrayString m_fileNames;
|
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
2003-01-02 18:38:11 -05:00
|
|
|
DECLARE_NO_COPY_CLASS(wxFileDialog)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
2003-06-14 09:31:49 -04:00
|
|
|
#endif // _WX_FILEDLG_H_
|
1999-12-06 19:48:45 -05:00
|
|
|
|