]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/palmos/colordlg.h | |
3 | // Purpose: wxColourDialog class | |
e1d63b79 WS |
4 | // Author: William Osborne - minimal working wxPalmOS port |
5 | // Modified by: Wlodzimierz ABX Skiba - real native implementation | |
ffecfa5a | 6 | // Created: 10/13/04 |
e1d63b79 WS |
7 | // RCS-ID: $Id$ |
8 | // Copyright: (c) William Osborne, Wlodzimierz Skiba | |
ffecfa5a JS |
9 | // Licence: wxWindows licence |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_COLORDLG_H_ | |
13 | #define _WX_COLORDLG_H_ | |
14 | ||
b73e73f9 | 15 | #include "wx/defs.h" |
ffecfa5a | 16 | #include "wx/dialog.h" |
ffecfa5a JS |
17 | |
18 | // ---------------------------------------------------------------------------- | |
19 | // wxColourDialog: dialog for choosing a colours | |
20 | // ---------------------------------------------------------------------------- | |
21 | ||
53a2db12 | 22 | class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog |
ffecfa5a JS |
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 | ||
ffecfa5a JS |
32 | virtual int ShowModal(); |
33 | ||
ffecfa5a | 34 | protected: |
ffecfa5a | 35 | wxColourData m_colourData; |
ffecfa5a JS |
36 | |
37 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog) | |
38 | }; | |
39 | ||
40 | #endif | |
41 | // _WX_COLORDLG_H_ |