]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/filedlg.h
Don't infinitely recurse when setting the child focus. Without
[wxWidgets.git] / include / wx / motif / filedlg.h
CommitLineData
9b6dbb09
JS
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
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
9b6dbb09
JS
16#pragma interface "filedlg.h"
17#endif
18
f74172ab
VZ
19//-------------------------------------------------------------------------
20// wxFileDialog
21//-------------------------------------------------------------------------
9b6dbb09 22
f74172ab 23class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
9b6dbb09 24{
83df96d6 25 DECLARE_DYNAMIC_CLASS(wxFileDialog)
dfad0599 26public:
83df96d6 27
dfad0599 28 // For Motif
dfad0599
JS
29 static wxString m_fileSelectorAnswer;
30 static bool m_fileSelectorReturned;
83df96d6 31
9b6dbb09 32public:
f74172ab
VZ
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);
83df96d6 40
f74172ab 41 virtual int ShowModal();
9b6dbb09
JS
42};
43
b600ed13 44#endif // _WX_FILEDLG_H_