]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
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: AUTHOR | |
6 | // Modified by: | |
7 | // Created: ??/??/98 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) AUTHOR | |
10 | // Licence: wxWindows licence | |
11 | ///////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #ifdef __GNUG__ | |
14 | #pragma implementation "colordlg.h" | |
15 | #endif | |
16 | ||
17 | #include "wx/stubs/colordlg.h" | |
18 | ||
19 | #if !USE_SHARED_LIBRARY | |
20 | IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog) | |
21 | #endif | |
22 | ||
23 | /* | |
24 | * wxColourDialog | |
25 | */ | |
26 | ||
27 | wxColourDialog::wxColourDialog() | |
28 | { | |
29 | m_dialogParent = NULL; | |
30 | } | |
31 | ||
32 | wxColourDialog::wxColourDialog(wxWindow *parent, wxColourData *data) | |
33 | { | |
34 | Create(parent, data); | |
35 | } | |
36 | ||
37 | bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) | |
38 | { | |
39 | m_dialogParent = parent; | |
40 | ||
41 | if (data) | |
42 | m_colourData = *data; | |
43 | return TRUE; | |
44 | } | |
45 | ||
46 | int wxColourDialog::ShowModal() | |
47 | { | |
48 | /* TODO: implement dialog | |
49 | */ | |
50 | ||
51 | return wxID_CANCEL; | |
52 | } | |
53 |