]> git.saurik.com Git - wxWidgets.git/blame - include/wx/colordlg.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[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
77ffb593 7// Copyright: (c) wxWidgets team
65571936 8// Licence: wxWindows licence
7cdb542c
VZ
9/////////////////////////////////////////////////////////////////////////////
10
34138703
JS
11#ifndef _WX_COLORDLG_H_BASE_
12#define _WX_COLORDLG_H_BASE_
c801d85f 13
274ad000
VS
14#include "wx/defs.h"
15
7cdb542c
VZ
16#if wxUSE_COLOURDLG
17
081d8d96
PC
18#include "wx/colourdata.h"
19
2b5f62a0 20#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
7cdb542c 21 #include "wx/msw/colordlg.h"
2b5f62a0 22#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
ef0e9220 23 #include "wx/osx/colordlg.h"
274ad000
VS
24#elif defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
25 #include "wx/gtk/colordlg.h"
7cdb542c
VZ
26#else
27 #include "wx/generic/colrdlgg.h"
c801d85f 28
7cdb542c 29 #define wxColourDialog wxGenericColourDialog
3dd4e4e0
JS
30#endif
31
91b4c08d 32// get the colour from user and return it
d3b9f782 33WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = NULL,
53a2db12
FM
34 const wxColour& colInit = wxNullColour,
35 const wxString& caption = wxEmptyString,
36 wxColourData *data = NULL);
7cdb542c
VZ
37
38#endif // wxUSE_COLOURDLG
91b4c08d 39
c801d85f 40#endif
34138703 41 // _WX_COLORDLG_H_BASE_