]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/filedlg.h
Use treebase.h for enum duplicated in port/treectrl.h.
[wxWidgets.git] / include / wx / palmos / filedlg.h
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/filedlg.h
3// Purpose: wxFileDialog class
e1d63b79 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e1d63b79 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_FILEDLG_H_
13#define _WX_FILEDLG_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "filedlg.h"
17#endif
18
19//-------------------------------------------------------------------------
20// wxFileDialog
21//-------------------------------------------------------------------------
22
23class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
24{
25public:
26 wxFileDialog(wxWindow *parent,
27 const wxString& message = wxFileSelectorPromptStr,
28 const wxString& defaultDir = wxEmptyString,
29 const wxString& defaultFile = wxEmptyString,
30 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
31 long style = 0,
32 const wxPoint& pos = wxDefaultPosition);
33
34 virtual void SetPath(const wxString& path);
35 virtual void GetPaths(wxArrayString& paths) const;
36 virtual void GetFilenames(wxArrayString& files) const;
37
38 virtual int ShowModal();
39
40private:
41 wxArrayString m_fileNames;
42
43 DECLARE_DYNAMIC_CLASS(wxFileDialog)
44 DECLARE_NO_COPY_CLASS(wxFileDialog)
45};
46
47#endif // _WX_FILEDLG_H_
48