1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: filedlg.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
1998-10-29 18:03:18 +00:00
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __GTKFILEDLGH__
|
|
|
|
#define __GTKFILEDLGH__
|
|
|
|
|
2003-08-09 12:38:21 +00:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
1998-05-20 14:01:55 +00:00
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
2003-07-19 17:22:05 +00:00
|
|
|
// wxFileDialog
|
1998-05-20 14:01:55 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
class wxFileDialog: public wxFileDialogBase
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
1999-02-02 12:07:25 +00:00
|
|
|
public:
|
|
|
|
wxFileDialog() { }
|
|
|
|
|
|
|
|
wxFileDialog(wxWindow *parent,
|
|
|
|
const wxString& message = wxFileSelectorPromptStr,
|
2003-07-19 17:22:05 +00:00
|
|
|
const wxString& defaultDir = wxEmptyString,
|
|
|
|
const wxString& defaultFile = wxEmptyString,
|
1999-02-02 12:07:25 +00:00
|
|
|
const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
|
|
|
|
long style = 0,
|
|
|
|
const wxPoint& pos = wxDefaultPosition);
|
2004-11-27 23:18:40 +00:00
|
|
|
|
|
|
|
~wxFileDialog();
|
1999-02-03 14:28:55 +00:00
|
|
|
|
2004-11-19 00:30:24 +00:00
|
|
|
virtual void GetPaths(wxArrayString& paths) const;
|
|
|
|
virtual void GetFilenames(wxArrayString& files) const;
|
1999-11-22 19:44:25 +00:00
|
|
|
|
2004-11-19 00:30:24 +00:00
|
|
|
virtual void SetMessage(const wxString& message);
|
|
|
|
virtual void SetPath(const wxString& path);
|
|
|
|
virtual void SetDirectory(const wxString& dir);
|
|
|
|
virtual void SetFilename(const wxString& name);
|
|
|
|
virtual void SetWildcard(const wxString& wildCard);
|
|
|
|
virtual void SetFilterIndex(int filterIndex);
|
2004-11-28 10:49:01 +00:00
|
|
|
|
|
|
|
void UpdateFromDialog();
|
1999-11-22 19:44:25 +00:00
|
|
|
private:
|
2004-11-28 10:49:01 +00:00
|
|
|
void UpdateDialog();
|
|
|
|
|
1999-11-22 19:44:25 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
1998-05-20 14:01:55 +00:00
|
|
|
};
|
|
|
|
|
2003-06-14 13:31:49 +00:00
|
|
|
#endif // __GTKFILEDLGH__
|