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