]> git.saurik.com Git - wxWidgets.git/blob - include/wx/colordlg.h
Fixed linking errors related to wxAnyButton in wxUniv.
[wxWidgets.git] / include / wx / colordlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/colordlg.h
3 // Purpose: wxColourDialog
4 // Author: Vadim Zeitiln
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_COLORDLG_H_BASE_
13 #define _WX_COLORDLG_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_COLOURDLG
18
19 #include "wx/colourdata.h"
20
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"
27 #elif defined(__WXPALMOS__)
28 #include "wx/palmos/colordlg.h"
29 #else
30 #include "wx/generic/colrdlgg.h"
31
32 #define wxColourDialog wxGenericColourDialog
33 #endif
34
35 // get the colour from user and return it
36 WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = NULL,
37 const wxColour& colInit = wxNullColour,
38 const wxString& caption = wxEmptyString,
39 wxColourData *data = NULL);
40
41 #endif // wxUSE_COLOURDLG
42
43 #endif
44 // _WX_COLORDLG_H_BASE_