1998-09-18 06:19:10 -04: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 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FILEDLG_H_
|
|
|
|
#define _WX_FILEDLG_H_
|
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// wxFileDialog
|
|
|
|
//-------------------------------------------------------------------------
|
1998-09-18 06:19:10 -04:00
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
|
1998-09-18 06:19:10 -04:00
|
|
|
{
|
2002-02-05 11:34:33 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
1998-10-02 08:50:01 -04:00
|
|
|
public:
|
2002-02-05 11:34:33 -05:00
|
|
|
|
1998-10-02 08:50:01 -04:00
|
|
|
// For Motif
|
|
|
|
static wxString m_fileSelectorAnswer;
|
|
|
|
static bool m_fileSelectorReturned;
|
2002-02-05 11:34:33 -05:00
|
|
|
|
1998-09-18 06:19:10 -04:00
|
|
|
public:
|
2003-07-19 13:22:05 -04: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 11:34:33 -05:00
|
|
|
|
2003-07-19 13:22:05 -04:00
|
|
|
virtual int ShowModal();
|
1998-09-18 06:19:10 -04:00
|
|
|
};
|
|
|
|
|
2003-06-14 09:31:49 -04:00
|
|
|
#endif // _WX_FILEDLG_H_
|