]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/colordlg.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / colordlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/colordlg.h
3// Purpose: wxColourDialog
4// Author: Vadim Zeitiln
5// Modified by:
6// Created: 01/02/97
7// Copyright: (c) wxWidgets team
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_COLORDLG_H_BASE_
12#define _WX_COLORDLG_H_BASE_
13
14#include "wx/defs.h"
15
16#if wxUSE_COLOURDLG
17
18#include "wx/colourdata.h"
19
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"
26#else
27 #include "wx/generic/colrdlgg.h"
28
29 #define wxColourDialog wxGenericColourDialog
30#endif
31
32// get the colour from user and return it
33WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = NULL,
34 const wxColour& colInit = wxNullColour,
35 const wxString& caption = wxEmptyString,
36 wxColourData *data = NULL);
37
38#endif // wxUSE_COLOURDLG
39
40#endif
41 // _WX_COLORDLG_H_BASE_