]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/colordlg.h
SWIGged updates for wxGTK
[wxWidgets.git] / include / wx / motif / colordlg.h
CommitLineData
9b6dbb09
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: colordlg.h
3// Purpose: wxColourDialog class. Use generic version if no
4// platform-specific implementation.
5// Author: Julian Smart
6// Modified by:
7// Created: 17/09/98
8// RCS-ID: $Id$
9// Copyright: (c) Julian Smart
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_COLORDLG_H_
14#define _WX_COLORDLG_H_
15
16#ifdef __GNUG__
17#pragma interface "colordlg.h"
18#endif
19
20#include "wx/setup.h"
21#include "wx/dialog.h"
22#include "wx/cmndata.h"
23
24/*
83df96d6
JS
25* Platform-specific colour dialog implementation
26*/
9b6dbb09
JS
27
28class WXDLLEXPORT wxColourDialog: public wxDialog
29{
83df96d6 30 DECLARE_DYNAMIC_CLASS(wxColourDialog)
9b6dbb09
JS
31public:
32 wxColourDialog();
33 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
83df96d6 34
9b6dbb09 35 bool Create(wxWindow *parent, wxColourData *data = NULL);
83df96d6 36
9b6dbb09
JS
37 int ShowModal();
38 wxColourData& GetColourData() { return m_colourData; }
83df96d6 39
9b6dbb09
JS
40protected:
41 wxColourData m_colourData;
42 wxWindow* m_dialogParent;
43};
44
45#endif
83df96d6 46// _WX_COLORDLG_H_