1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2002-12-04 14:11:26 +00:00
|
|
|
// Name: wx/msw/filedlg.h
|
1998-05-20 14:12:05 +00:00
|
|
|
// Purpose: wxFileDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
1999-01-24 23:31:39 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 23:52:45 +00:00
|
|
|
#ifndef _WX_FILEDLG_H_
|
|
|
|
#define _WX_FILEDLG_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
1999-12-07 00:48:45 +00:00
|
|
|
#pragma interface "filedlg.h"
|
1998-05-20 14:12:05 +00:00
|
|
|
#endif
|
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// wxFileDialog
|
|
|
|
//-------------------------------------------------------------------------
|
1998-05-20 14:12:05 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
|
1998-05-20 14:12:05 +00:00
|
|
|
{
|
|
|
|
public:
|
2002-12-04 14:11:26 +00: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 14:12:05 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
virtual void SetPath(const wxString& path);
|
|
|
|
virtual void GetPaths(wxArrayString& paths) const;
|
1999-12-07 00:48:45 +00:00
|
|
|
|
2002-12-04 14:11:26 +00:00
|
|
|
virtual int ShowModal();
|
1999-01-24 23:31:39 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
private:
|
1999-12-07 00:48:45 +00:00
|
|
|
wxArrayString m_fileNames;
|
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
2003-01-02 23:38:11 +00:00
|
|
|
DECLARE_NO_COPY_CLASS(wxFileDialog)
|
1998-05-20 14:12:05 +00:00
|
|
|
};
|
|
|
|
|
2003-06-14 13:31:49 +00:00
|
|
|
#endif // _WX_FILEDLG_H_
|
1999-12-07 00:48:45 +00:00
|
|
|
|