]> git.saurik.com Git - wxWidgets.git/blob - include/wx/colordlg.h
handle _DEBUG/NDEBUG correctly
[wxWidgets.git] / include / wx / colordlg.h
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$
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_COLORDLG_H_BASE_
13 #define _WX_COLORDLG_H_BASE_
14
15 #if wxUSE_COLOURDLG
16
17 #if defined(__WXMSW__)
18 #include "wx/msw/colordlg.h"
19 #else
20 #include "wx/generic/colrdlgg.h"
21
22 #define wxColourDialog wxGenericColourDialog
23 #define sm_classwxColourDialog sm_classwxGenericColourDialog
24 #endif
25
26 // get the colour from user and return it
27 wxColour WXDLLEXPORT
28 wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
29 const wxColour& colInit = wxNullColour);
30
31 #endif // wxUSE_COLOURDLG
32
33 #endif
34 // _WX_COLORDLG_H_BASE_