1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxColourDialog
4 // Author: Vadim Zeitiln
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_COLORDLG_H_BASE_
13 #define _WX_COLORDLG_H_BASE_
19 #include "wx/colourdata.h"
21 #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
22 #include "wx/msw/colordlg.h"
23 #elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
24 #include "wx/osx/colordlg.h"
25 #elif defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
26 #include "wx/gtk/colordlg.h"
28 #include "wx/generic/colrdlgg.h"
30 #define wxColourDialog wxGenericColourDialog
33 // get the colour from user and return it
34 WXDLLIMPEXP_CORE wxColour
wxGetColourFromUser(wxWindow
*parent
= NULL
,
35 const wxColour
& colInit
= wxNullColour
,
36 const wxString
& caption
= wxEmptyString
,
37 wxColourData
*data
= NULL
);
39 #endif // wxUSE_COLOURDLG
42 // _WX_COLORDLG_H_BASE_