]>
Commit | Line | Data |
---|---|---|
7cdb542c VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/colrdlgg.h | |
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 | ||
2b5f62a0 | 19 | #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) |
7cdb542c | 20 | #include "wx/msw/colordlg.h" |
2b5f62a0 | 21 | #elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__) |
470d7e4f | 22 | #include "wx/mac/colordlg.h" |
274ad000 VS |
23 | #elif defined(__WXGTK20__) && !defined(__WXUNIVERSAL__) |
24 | #include "wx/gtk/colordlg.h" | |
7cdb542c VZ |
25 | #else |
26 | #include "wx/generic/colrdlgg.h" | |
c801d85f | 27 | |
7cdb542c | 28 | #define wxColourDialog wxGenericColourDialog |
3dd4e4e0 JS |
29 | #endif |
30 | ||
91b4c08d | 31 | // get the colour from user and return it |
7cdb542c VZ |
32 | wxColour WXDLLEXPORT |
33 | wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL, | |
34 | const wxColour& colInit = wxNullColour); | |
35 | ||
36 | #endif // wxUSE_COLOURDLG | |
91b4c08d | 37 | |
c801d85f | 38 | #endif |
34138703 | 39 | // _WX_COLORDLG_H_BASE_ |