]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/colordlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxColourDialog class. NOTE: you can use the generic class
4 // if you wish, instead of implementing this.
5 // Author: David Webster
9 // Copyright: (c) David Webster
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 // For compilers that support precompilation, includes "wx.h".
14 #include "wx/wxprec.h"
19 #include "wx/bitmap.h"
22 #include "wx/colour.h"
23 #include "wx/gdicmn.h"
26 #include "wx/dialog.h"
27 #include "wx/msgdlg.h"
33 #include "wx/os2/private.h"
34 #include "wx/colordlg.h"
35 #include "wx/cmndata.h"
41 #define wxDIALOG_DEFAULT_X 300
42 #define wxDIALOG_DEFAULT_Y 300
44 #if !USE_SHARED_LIBRARY
45 IMPLEMENT_DYNAMIC_CLASS(wxColourDialog
, wxDialog
)
52 wxColourDialog::wxColourDialog()
54 m_dialogParent
= NULL
;
57 wxColourDialog::wxColourDialog(wxWindow
*parent
, wxColourData
*data
)
62 bool wxColourDialog::Create(wxWindow
*parent
, wxColourData
*data
)
64 m_dialogParent
= parent
;
71 int wxColourDialog::ShowModal()
73 /* TODO: implement dialog