]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/colordlg.h
Cured last focus bug (I hope); some wxMotif mods
[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/*
25 * Platform-specific colour dialog implementation
26 */
27
28class WXDLLEXPORT wxColourDialog: public wxDialog
29{
30DECLARE_DYNAMIC_CLASS(wxColourDialog)
31public:
32 wxColourDialog();
33 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
34
35 bool Create(wxWindow *parent, wxColourData *data = NULL);
36
37 int ShowModal();
38 wxColourData& GetColourData() { return m_colourData; }
39
40protected:
41 wxColourData m_colourData;
42 wxWindow* m_dialogParent;
43};
44
45#endif
46 // _WX_COLORDLG_H_