]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/filedlg.h
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check...
[wxWidgets.git] / include / wx / os2 / filedlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: filedlg.h
3// Purpose: wxFileDialog class
4// Author: David Webster
5// Modified by:
6// Created: 10/05/99
7// RCS-ID: $Id$
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_FILEDLG_H_
13#define _WX_FILEDLG_H_
14
15//-------------------------------------------------------------------------
16// wxFileDialog
17//-------------------------------------------------------------------------
18
19class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
20{
21DECLARE_DYNAMIC_CLASS(wxFileDialog)
22public:
23 wxFileDialog( wxWindow* pParent
24 ,const wxString& rsMessage = wxFileSelectorPromptStr
25 ,const wxString& rsDefaultDir = wxEmptyString
26 ,const wxString& rsDefaultFile = wxEmptyString
27 ,const wxString& rsWildCard = wxFileSelectorDefaultWildcardStr
28 ,long lStyle = wxFD_DEFAULT_STYLE
29 ,const wxPoint& rPos = wxDefaultPosition,
30 const wxSize& sz = wxDefaultSize,
31 const wxString& name = wxFileDialogNameStr
32 );
33
34 virtual void GetPaths(wxArrayString& rasPath) const;
35
36 int ShowModal();
37
38protected:
39 wxArrayString m_fileNames;
40}; // end of CLASS wxFileDialog
41
42#endif // _WX_FILEDLG_H_