]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/colordlg.h
warning fix
[wxWidgets.git] / include / wx / mac / colordlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: colordlg.h
3 // Purpose: wxColourDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: AUTHOR
6 // Modified by:
7 // Created: ??/??/98
8 // RCS-ID: $Id$
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_COLORDLG_H_
14 #define _WX_COLORDLG_H_
15
16 #ifdef __GNUG__
17 #pragma interface "colordlg.h"
18 #endif
19
20 #include "wx/setup.h"
21 #include "wx/dialog.h"
22 #include "wx/cmndata.h"
23
24 /*
25 * Platform-specific colour dialog implementation
26 */
27
28 class WXDLLEXPORT wxColourDialog: public wxDialog
29 {
30 DECLARE_DYNAMIC_CLASS(wxColourDialog)
31 public:
32 wxColourDialog();
33 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
34
35 bool Create(wxWindow *parent, wxColourData *data = NULL);
36
37 int ShowModal();
38 wxColourData& GetColourData() { return m_colourData; }
39
40 protected:
41 wxColourData m_colourData;
42 wxWindow* m_dialogParent;
43 };
44
45 #endif
46 // _WX_COLORDLG_H_