1999-01-01 16:05:26 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: filedlg.h
|
|
|
|
// Purpose: wxFileDialog class
|
2003-02-28 21:54:04 +00:00
|
|
|
// Author: Stefan Csomor
|
1999-01-01 16:05:26 +00:00
|
|
|
// Modified by:
|
2003-02-28 21:54:04 +00:00
|
|
|
// Created: 1998-01-01
|
1999-01-01 16:05:26 +00:00
|
|
|
// RCS-ID: $Id$
|
2003-02-28 21:54:04 +00:00
|
|
|
// Copyright: (c) Stefan Csomor
|
2003-02-28 23:36:37 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-01-01 16:05:26 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FILEDLG_H_
|
|
|
|
#define _WX_FILEDLG_H_
|
|
|
|
|
2002-08-31 11:29:13 +00:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
1999-01-01 16:05:26 +00:00
|
|
|
#pragma interface "filedlg.h"
|
|
|
|
#endif
|
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// wxFileDialog
|
|
|
|
//-------------------------------------------------------------------------
|
1999-01-01 16:05:26 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
|
1999-01-01 16:05:26 +00:00
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
|
|
|
protected:
|
2001-02-08 21:13:12 +00:00
|
|
|
wxArrayString m_fileNames;
|
|
|
|
wxArrayString m_paths;
|
1999-01-01 16:05:26 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
public:
|
|
|
|
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);
|
1999-01-01 16:05:26 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; }
|
1999-01-01 16:05:26 +00:00
|
|
|
|
2003-07-19 17:22:05 +00:00
|
|
|
virtual int ShowModal();
|
2001-02-23 19:45:00 +00:00
|
|
|
|
|
|
|
// not supported for file dialog, RR
|
2002-05-07 21:58:27 +00:00
|
|
|
virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
|
|
|
|
int WXUNUSED(width), int WXUNUSED(height),
|
|
|
|
int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
|
1999-01-01 16:05:26 +00:00
|
|
|
};
|
|
|
|
|
2003-06-14 13:31:49 +00:00
|
|
|
#endif // _WX_FILEDLG_H_
|