]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/colordlg.h
The rounded corners look really dumb at this size.
[wxWidgets.git] / include / wx / osx / colordlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/colordlg.h
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 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_COLORDLG_H_
13 #define _WX_COLORDLG_H_
14
15 #include "wx/dialog.h"
16
17 /*
18 * Platform-specific colour dialog implementation
19 */
20
21 class WXDLLIMPEXP_CORE wxColourDialog: public wxDialog
22 {
23 DECLARE_DYNAMIC_CLASS(wxColourDialog)
24 public:
25 wxColourDialog();
26 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
27
28 bool Create(wxWindow *parent, wxColourData *data = NULL);
29
30 int ShowModal();
31 wxColourData& GetColourData() { return m_colourData; }
32
33 protected:
34 wxColourData m_colourData;
35 wxWindow* m_dialogParent;
36 };
37
38 #endif
39 // _WX_COLORDLG_H_