wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / os2 / filedlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/filedlg.h
3 // Purpose: wxFileDialog class
4 // Author: David Webster
5 // Modified by:
6 // Created: 10/05/99
7 // Copyright: (c) David Webster
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 wxFileDialog( wxWindow* pParent
23 ,const wxString& rsMessage = wxFileSelectorPromptStr
24 ,const wxString& rsDefaultDir = wxEmptyString
25 ,const wxString& rsDefaultFile = wxEmptyString
26 ,const wxString& rsWildCard = wxFileSelectorDefaultWildcardStr
27 ,long lStyle = wxFD_DEFAULT_STYLE
28 ,const wxPoint& rPos = wxDefaultPosition,
29 const wxSize& sz = wxDefaultSize,
30 const wxString& name = wxFileDialogNameStr
31 );
32
33 virtual void GetPaths(wxArrayString& rasPath) const;
34
35 int ShowModal();
36
37 protected:
38 wxArrayString m_fileNames;
39 }; // end of CLASS wxFileDialog
40
41 #endif // _WX_FILEDLG_H_