]> git.saurik.com Git - wxWidgets.git/blame - include/wx/colordlg.h
props
[wxWidgets.git] / include / wx / colordlg.h
CommitLineData
7cdb542c 1/////////////////////////////////////////////////////////////////////////////
081d8d96 2// Name: wx/colordlg.h
7cdb542c
VZ
3// Purpose: wxColourDialog
4// Author: Vadim Zeitiln
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
77ffb593 8// Copyright: (c) wxWidgets team
65571936 9// Licence: wxWindows licence
7cdb542c
VZ
10/////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_COLORDLG_H_BASE_
13#define _WX_COLORDLG_H_BASE_
c801d85f 14
274ad000
VS
15#include "wx/defs.h"
16
7cdb542c
VZ
17#if wxUSE_COLOURDLG
18
081d8d96
PC
19#include "wx/colourdata.h"
20
2b5f62a0 21#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
7cdb542c 22 #include "wx/msw/colordlg.h"
2b5f62a0 23#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
ef0e9220 24 #include "wx/osx/colordlg.h"
274ad000
VS
25#elif defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
26 #include "wx/gtk/colordlg.h"
f5d9cc73
WS
27#elif defined(__WXPALMOS__)
28 #include "wx/palmos/colordlg.h"
7cdb542c
VZ
29#else
30 #include "wx/generic/colrdlgg.h"
c801d85f 31
7cdb542c 32 #define wxColourDialog wxGenericColourDialog
3dd4e4e0
JS
33#endif
34
91b4c08d 35// get the colour from user and return it
d3b9f782 36WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = NULL,
53a2db12
FM
37 const wxColour& colInit = wxNullColour,
38 const wxString& caption = wxEmptyString,
39 wxColourData *data = NULL);
7cdb542c
VZ
40
41#endif // wxUSE_COLOURDLG
91b4c08d 42
c801d85f 43#endif
34138703 44 // _WX_COLORDLG_H_BASE_