]> git.saurik.com Git - wxWidgets.git/blame - include/wx/colordlg.h
use MSWCreateControl() instead of the old mess; implemented Get(Class)DefaultAttributes()
[wxWidgets.git] / include / wx / colordlg.h
CommitLineData
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$
8// Copyright: (c) wxWindows team
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_COLORDLG_H_BASE_
13#define _WX_COLORDLG_H_BASE_
c801d85f 14
7cdb542c
VZ
15#if wxUSE_COLOURDLG
16
2b5f62a0 17#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
7cdb542c 18 #include "wx/msw/colordlg.h"
2b5f62a0 19#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
470d7e4f 20 #include "wx/mac/colordlg.h"
7cdb542c
VZ
21#else
22 #include "wx/generic/colrdlgg.h"
c801d85f 23
7cdb542c 24 #define wxColourDialog wxGenericColourDialog
3dd4e4e0
JS
25#endif
26
91b4c08d 27// get the colour from user and return it
7cdb542c
VZ
28wxColour WXDLLEXPORT
29wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
30 const wxColour& colInit = wxNullColour);
31
32#endif // wxUSE_COLOURDLG
91b4c08d 33
c801d85f 34#endif
34138703 35 // _WX_COLORDLG_H_BASE_