]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/colordlg.h
moved smart phone test to chkconf.h from features.h
[wxWidgets.git] / include / wx / mac / colordlg.h
CommitLineData
0dbd6262
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: colordlg.h
3// Purpose: wxColourDialog class. Use generic version if no
4// platform-specific implementation.
a31a5f85 5// Author: Stefan Csomor
0dbd6262 6// Modified by:
a31a5f85 7// Created: 1998-01-01
0dbd6262 8// RCS-ID: $Id$
a31a5f85 9// Copyright: (c) Stefan Csomor
d921af51 10// Licence: wxWindows licence
0dbd6262
SC
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_COLORDLG_H_
14#define _WX_COLORDLG_H_
15
af49c4b8 16#if defined(__GNUG__) && !defined(__APPLE__)
0dbd6262
SC
17#pragma interface "colordlg.h"
18#endif
19
20#include "wx/setup.h"
21#include "wx/dialog.h"
22#include "wx/cmndata.h"
23
24/*
25 * Platform-specific colour dialog implementation
26 */
27
28class WXDLLEXPORT wxColourDialog: public wxDialog
29{
30DECLARE_DYNAMIC_CLASS(wxColourDialog)
31public:
32 wxColourDialog();
33 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
34
35 bool Create(wxWindow *parent, wxColourData *data = NULL);
36
37 int ShowModal();
38 wxColourData& GetColourData() { return m_colourData; }
39
40protected:
41 wxColourData m_colourData;
42 wxWindow* m_dialogParent;
43};
44
45#endif
46 // _WX_COLORDLG_H_