1998-09-18 10:19:10 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: filedlg.h
|
|
|
|
// Purpose: wxFileDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-09-18 10:19:10 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FILEDLG_H_
|
|
|
|
#define _WX_FILEDLG_H_
|
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// wxFileDialog
|
|
|
|
//-------------------------------------------------------------------------
|
1998-09-18 10:19:10 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
|
1998-09-18 10:19:10 +00:00
|
|
|
{
|
2002-02-05 16:34:33 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
1998-10-02 12:50:01 +00:00
|
|
|
public:
|
2002-02-05 16:34:33 +00:00
|
|
|
|
1998-10-02 12:50:01 +00:00
|
|
|
// For Motif
|
|
|
|
static wxString m_fileSelectorAnswer;
|
|
|
|
static bool m_fileSelectorReturned;
|
2002-02-05 16:34:33 +00:00
|
|
|
|
1998-09-18 10:19:10 +00:00
|
|
|
public:
|
2003-07-19 17:22:05 +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);
|
2002-02-05 16:34:33 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
virtual int ShowModal();
|
1998-09-18 10:19:10 +00:00
|
|
|
};
|
|
|
|
|
2003-06-14 13:31:49 +00:00
|
|
|
#endif // _WX_FILEDLG_H_
|