1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2002-04-05 05:11:37 -05:00
|
|
|
// Name: wx/msw/dirdlg.h
|
1998-05-20 10:12:05 -04:00
|
|
|
// Purpose: wxDirDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_DIRDLG_H_
|
|
|
|
#define _WX_DIRDLG_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dirdlg.h"
|
|
|
|
#endif
|
|
|
|
|
2002-04-05 05:11:37 -05:00
|
|
|
class WXDLLEXPORT wxDirDialog : public wxDialog
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
|
|
|
public:
|
2002-04-05 05:11:37 -05:00
|
|
|
wxDirDialog(wxWindow *parent,
|
2002-05-04 08:38:51 -04:00
|
|
|
const wxString& message = wxDirSelectorPromptStr,
|
2002-04-05 05:11:37 -05:00
|
|
|
const wxString& defaultPath = wxEmptyString,
|
|
|
|
long style = 0,
|
2002-05-04 08:38:51 -04:00
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
const wxString& name = wxDirDialogNameStr);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2002-04-05 05:11:37 -05:00
|
|
|
void SetMessage(const wxString& message) { m_message = message; }
|
2002-04-05 15:20:32 -05:00
|
|
|
void SetPath(const wxString& path);
|
2003-02-01 18:30:53 -05:00
|
|
|
void SetStyle(long style) { SetWindowStyle(style); }
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2002-04-05 05:11:37 -05:00
|
|
|
wxString GetMessage() const { return m_message; }
|
|
|
|
wxString GetPath() const { return m_path; }
|
2003-02-01 18:30:53 -05:00
|
|
|
long GetStyle() const { return GetWindowStyle(); }
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2002-04-05 05:11:37 -05:00
|
|
|
virtual int ShowModal();
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
wxString m_message;
|
|
|
|
wxString m_path;
|
2002-04-05 05:11:37 -05:00
|
|
|
|
|
|
|
private:
|
2003-07-21 20:24:07 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_DIRDLG_H_
|