]> git.saurik.com Git - wxWidgets.git/blame - src/motif/colordlg.cpp
fixed problem in mimetype database and put a temp. fix for font tags
[wxWidgets.git] / src / motif / colordlg.cpp
CommitLineData
4bb6408c
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: colordlg.cpp
3// Purpose: wxColourDialog class. NOTE: you can use the generic class
4// if you wish, instead of implementing this.
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#ifdef __GNUG__
14#pragma implementation "colordlg.h"
15#endif
16
5dcf05ae 17#include "wx/motif/colordlg.h"
4bb6408c
JS
18
19#if !USE_SHARED_LIBRARY
20IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
21#endif
22
23/*
24 * wxColourDialog
25 */
26
27wxColourDialog::wxColourDialog()
28{
29 m_dialogParent = NULL;
30}
31
32wxColourDialog::wxColourDialog(wxWindow *parent, wxColourData *data)
33{
34 Create(parent, data);
35}
36
37bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
38{
39 m_dialogParent = parent;
40
41 if (data)
42 m_colourData = *data;
43 return TRUE;
44}
45
46int wxColourDialog::ShowModal()
47{
48 /* TODO: implement dialog
49 */
50
51 return wxID_CANCEL;
52}
53