]> git.saurik.com Git - wxWidgets.git/blob - src/stubs/colordlg.cpp
Added stubs .cpp files.
[wxWidgets.git] / src / stubs / colordlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: colordlg.cpp
3 // Purpose: wxColourDialog class
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "colordlg.h"
14 #endif
15
16 #include "wx/colordlg.h"
17
18 #if !USE_SHARED_LIBRARY
19 IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
20 #endif
21
22 /*
23 * wxColourDialog
24 */
25
26 wxColourDialog::wxColourDialog()
27 {
28 m_dialogParent = NULL;
29 }
30
31 wxColourDialog::wxColourDialog(wxWindow *parent, wxColourData *data)
32 {
33 Create(parent, data);
34 }
35
36 bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
37 {
38 m_dialogParent = parent;
39
40 if (data)
41 m_colourData = *data;
42 return TRUE;
43 }
44
45 int wxColourDialog::ShowModal()
46 {
47 /* TODO: implement dialog
48 */
49
50 return wxID_CANCEL;
51 }
52