]> git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/filedlg.h
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / include / wx / motif / filedlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/filedlg.h
3 // Purpose: wxFileDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_FILEDLG_H_
12 #define _WX_FILEDLG_H_
13
14 //-------------------------------------------------------------------------
15 // wxFileDialog
16 //-------------------------------------------------------------------------
17
18 class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
19 {
20 DECLARE_DYNAMIC_CLASS(wxFileDialog)
21 public:
22
23 // For Motif
24 static wxString m_fileSelectorAnswer;
25 static bool m_fileSelectorReturned;
26
27 public:
28 wxFileDialog(wxWindow *parent,
29 const wxString& message = wxFileSelectorPromptStr,
30 const wxString& defaultDir = wxEmptyString,
31 const wxString& defaultFile = wxEmptyString,
32 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
33 long style = wxFD_DEFAULT_STYLE,
34 const wxPoint& pos = wxDefaultPosition,
35 const wxSize& sz = wxDefaultSize,
36 const wxString& name = wxFileDialogNameStr);
37
38 virtual int ShowModal();
39 };
40
41 #endif // _WX_FILEDLG_H_