]> git.saurik.com Git - wxWidgets.git/blame - src/motif/colordlg.cpp
1. some more tests in console
[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 18
4bb6408c 19IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
4bb6408c
JS
20
21/*
22 * wxColourDialog
23 */
24
25wxColourDialog::wxColourDialog()
26{
27 m_dialogParent = NULL;
28}
29
30wxColourDialog::wxColourDialog(wxWindow *parent, wxColourData *data)
31{
32 Create(parent, data);
33}
34
35bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
36{
37 m_dialogParent = parent;
38
39 if (data)
40 m_colourData = *data;
41 return TRUE;
42}
43
44int wxColourDialog::ShowModal()
45{
46 /* TODO: implement dialog
47 */
48
49 return wxID_CANCEL;
50}
51