]>
Commit | Line | Data |
---|---|---|
8cf73271 | 1 | ///////////////////////////////////////////////////////////////////////////// |
b73e73f9 | 2 | // Name: wx/mac/carbon/colordlg.h |
8cf73271 SC |
3 | // Purpose: wxColourDialog class. Use generic version if no |
4 | // platform-specific implementation. | |
5 | // Author: Stefan Csomor | |
6 | // Modified by: | |
7 | // Created: 1998-01-01 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) Stefan Csomor | |
65571936 | 10 | // Licence: wxWindows licence |
8cf73271 SC |
11 | ///////////////////////////////////////////////////////////////////////////// |
12 | ||
13 | #ifndef _WX_COLORDLG_H_ | |
14 | #define _WX_COLORDLG_H_ | |
15 | ||
b73e73f9 | 16 | #include "wx/defs.h" |
8cf73271 SC |
17 | #include "wx/dialog.h" |
18 | #include "wx/cmndata.h" | |
19 | ||
20 | /* | |
21 | * Platform-specific colour dialog implementation | |
22 | */ | |
23 | ||
53a2db12 | 24 | class WXDLLIMPEXP_CORE wxColourDialog: public wxDialog |
8cf73271 SC |
25 | { |
26 | DECLARE_DYNAMIC_CLASS(wxColourDialog) | |
27 | public: | |
28 | wxColourDialog(); | |
29 | wxColourDialog(wxWindow *parent, wxColourData *data = NULL); | |
30 | ||
31 | bool Create(wxWindow *parent, wxColourData *data = NULL); | |
32 | ||
33 | int ShowModal(); | |
34 | wxColourData& GetColourData() { return m_colourData; } | |
35 | ||
36 | protected: | |
37 | wxColourData m_colourData; | |
38 | wxWindow* m_dialogParent; | |
39 | }; | |
40 | ||
41 | #endif | |
42 | // _WX_COLORDLG_H_ |