]> git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/colordlg.h
Avoid setting attributes in GTK wxDataViewRenderer if not supported.
[wxWidgets.git] / include / wx / palmos / colordlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/colordlg.h
3 // Purpose: wxColourDialog class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by: Wlodzimierz ABX Skiba - real native implementation
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne, Wlodzimierz Skiba
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_COLORDLG_H_
13 #define _WX_COLORDLG_H_
14
15 #include "wx/defs.h"
16 #include "wx/dialog.h"
17 #include "wx/cmndata.h"
18
19 // ----------------------------------------------------------------------------
20 // wxColourDialog: dialog for choosing a colours
21 // ----------------------------------------------------------------------------
22
23 class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
24 {
25 public:
26 wxColourDialog();
27 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
28
29 bool Create(wxWindow *parent, wxColourData *data = NULL);
30
31 wxColourData& GetColourData() { return m_colourData; }
32
33 virtual int ShowModal();
34
35 protected:
36 wxColourData m_colourData;
37
38 DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog)
39 };
40
41 #endif
42 // _WX_COLORDLG_H_