2006-04-30 05:44:29 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dirdlg.h
|
2006-05-28 19:32:12 -04:00
|
|
|
// Purpose: wxDirDialog
|
2006-04-30 05:44:29 -04:00
|
|
|
// Author: Francesco Montorsi
|
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 2006 Francesco Montorsi
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTKDIRDLGH__
|
|
|
|
#define __GTKDIRDLGH__
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
2006-05-28 19:32:12 -04:00
|
|
|
// wxDirDialog
|
2006-04-30 05:44:29 -04:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2007-11-05 17:31:24 -05:00
|
|
|
class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
|
2006-04-30 05:44:29 -04:00
|
|
|
{
|
|
|
|
public:
|
2006-05-28 19:32:12 -04:00
|
|
|
wxDirDialog() { }
|
2006-04-30 05:44:29 -04:00
|
|
|
|
2006-05-28 19:32:12 -04:00
|
|
|
wxDirDialog(wxWindow *parent,
|
2006-04-30 05:44:29 -04:00
|
|
|
const wxString& message = wxDirSelectorPromptStr,
|
2006-05-06 16:10:11 -04:00
|
|
|
const wxString& defaultPath = wxEmptyString,
|
2006-04-30 05:44:29 -04:00
|
|
|
long style = wxDD_DEFAULT_STYLE,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
const wxString& name = wxDirDialogNameStr);
|
|
|
|
|
2006-05-28 19:32:12 -04:00
|
|
|
virtual ~wxDirDialog() { }
|
2006-04-30 05:44:29 -04:00
|
|
|
|
|
|
|
|
|
|
|
public: // overrides from wxGenericDirDialog
|
|
|
|
|
|
|
|
wxString GetPath() const;
|
|
|
|
void SetPath(const wxString& path);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// override this from wxTLW since the native
|
|
|
|
// form doesn't have any m_wxwindow
|
|
|
|
virtual void DoSetSize(int x, int y,
|
|
|
|
int width, int height,
|
|
|
|
int sizeFlags = wxSIZE_AUTO);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
2007-11-05 17:31:24 -05:00
|
|
|
void OnFakeOk( wxCommandEvent &event );
|
|
|
|
|
2006-05-28 19:32:12 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxDirDialog)
|
2006-04-30 05:44:29 -04:00
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __GTKDIRDLGH__
|