]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/motif/filedlg.h
Change GetC to return an int so that it can return wxEOF on error.
[wxWidgets.git] / include / wx / motif / filedlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/motif/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//-------------------------------------------------------------------------
16// wxFileDialog
17//-------------------------------------------------------------------------
18
19class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
20{
21 DECLARE_DYNAMIC_CLASS(wxFileDialog)
22public:
23
24 // For Motif
25 static wxString m_fileSelectorAnswer;
26 static bool m_fileSelectorReturned;
27
28public:
29 wxFileDialog(wxWindow *parent,
30 const wxString& message = wxFileSelectorPromptStr,
31 const wxString& defaultDir = wxEmptyString,
32 const wxString& defaultFile = wxEmptyString,
33 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
34 long style = wxFD_DEFAULT_STYLE,
35 const wxPoint& pos = wxDefaultPosition,
36 const wxSize& sz = wxDefaultSize,
37 const wxString& name = wxFileDialogNameStr);
38
39 virtual int ShowModal();
40};
41
42#endif // _WX_FILEDLG_H_