]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/colordlg.h
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / include / wx / msw / colordlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: colordlg.h
3 // Purpose: wxColourDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_COLORDLG_H_
13 #define _WX_COLORDLG_H_
14
15 #ifdef __GNUG__
16 #pragma interface "colordlg.h"
17 #endif
18
19 #include "wx/setup.h"
20 #include "wx/dialog.h"
21 #include "wx/cmndata.h"
22
23 /*
24 * COLOUR DIALOG
25 */
26
27 class WXDLLEXPORT wxColourDialog: public wxDialog
28 {
29 DECLARE_DYNAMIC_CLASS(wxColourDialog)
30 public:
31 wxColourDialog(void);
32 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
33
34 bool Create(wxWindow *parent, wxColourData *data = NULL);
35
36 int ShowModal(void);
37 wxColourData& GetColourData(void) { return m_colourData; }
38
39 protected:
40 wxColourData m_colourData;
41 wxWindow* m_dialogParent;
42 };
43
44 #endif
45 // _WX_COLORDLG_H_