1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-25 10:31:55 -04:00
|
|
|
// Name: wx/motif/filedlg.h
|
1998-09-18 06:19:10 -04:00
|
|
|
// Purpose: wxFileDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2006-07-25 10:31:55 -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
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE 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:
|
2006-07-25 10:31:55 -04:00
|
|
|
|
1998-10-02 08:50:01 -04:00
|
|
|
// For Motif
|
|
|
|
static wxString m_fileSelectorAnswer;
|
|
|
|
static bool m_fileSelectorReturned;
|
2006-07-25 10:31:55 -04: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,
|
2006-05-28 19:32:12 -04:00
|
|
|
long style = wxFD_DEFAULT_STYLE,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& sz = wxDefaultSize,
|
|
|
|
const wxString& name = wxFileDialogNameStr);
|
2006-07-25 10:31:55 -04: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_
|