]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/osx/dirdlg.h
removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation
[wxWidgets.git] / include / wx / osx / dirdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/osx/dirdlg.h
3// Purpose: wxDirDialog class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
14
15class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
16{
17public:
18 wxDirDialog(wxWindow *parent,
19 const wxString& message = wxDirSelectorPromptStr,
20 const wxString& defaultPath = wxT(""),
21 long style = wxDD_DEFAULT_STYLE,
22 const wxPoint& pos = wxDefaultPosition,
23 const wxSize& size = wxDefaultSize,
24 const wxString& name = wxDirDialogNameStr);
25
26#if wxOSX_USE_COCOA
27 ~wxDirDialog();
28#endif
29
30 virtual int ShowModal();
31
32#if wxOSX_USE_COCOA
33 virtual void ShowWindowModal();
34 virtual void ModalFinishedCallback(void* panel, int returnCode);
35#endif
36
37protected:
38
39 DECLARE_DYNAMIC_CLASS(wxDirDialog)
40
41#if wxOSX_USE_COCOA
42 WX_NSObject m_sheetDelegate;
43#endif
44};
45
46#endif
47 // _WX_DIRDLG_H_