]> git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/colordlg.h
0f59c2d60c7e8cf38f3fde0d31fc826ee1b367c1
[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
18 // ----------------------------------------------------------------------------
19 // wxColourDialog: dialog for choosing a colours
20 // ----------------------------------------------------------------------------
21
22 class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
23 {
24 public:
25 wxColourDialog();
26 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
27
28 bool Create(wxWindow *parent, wxColourData *data = NULL);
29
30 wxColourData& GetColourData() { return m_colourData; }
31
32 virtual int ShowModal();
33
34 protected:
35 wxColourData m_colourData;
36
37 DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog)
38 };
39
40 #endif
41 // _WX_COLORDLG_H_