]> git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/filedlg.h
Implemented PocketPC menubar/toolbar as wxToolMenuBar derived
[wxWidgets.git] / include / wx / motif / filedlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: filedlg.h
3 // Purpose: wxFileDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
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
23 class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
24 {
25 DECLARE_DYNAMIC_CLASS(wxFileDialog)
26 public:
27
28 // For Motif
29 static wxString m_fileSelectorAnswer;
30 static bool m_fileSelectorReturned;
31
32 public:
33 wxFileDialog(wxWindow *parent,
34 const wxString& message = wxFileSelectorPromptStr,
35 const wxString& defaultDir = wxEmptyString,
36 const wxString& defaultFile = wxEmptyString,
37 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
38 long style = 0,
39 const wxPoint& pos = wxDefaultPosition);
40
41 virtual int ShowModal();
42 };
43
44 #endif // _WX_FILEDLG_H_