]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/fontdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxFontDialog 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"
20 #include "wx/dialog.h"
23 #include "wx/fontdlg.h"
28 #include "wx/os2/private.h"
29 #include "wx/cmndata.h"
35 #define wxDIALOG_DEFAULT_X 300
36 #define wxDIALOG_DEFAULT_Y 300
38 IMPLEMENT_DYNAMIC_CLASS(wxFontDialog
, wxDialog
)
43 wxFontDialog::wxFontDialog()
45 m_dialogParent
= NULL
;
48 wxFontDialog::wxFontDialog(wxWindow
*parent
, const wxFontData
& rData
)
50 Create(parent
, rData
);
53 bool wxFontDialog::Create(wxWindow
*parent
, const wxFontData
& rData
)
55 m_dialogParent
= parent
;
61 int wxFontDialog::ShowModal()
63 // TODO: show (maybe create) the dialog