]>
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 #if !USE_SHARED_LIBRARY
39 IMPLEMENT_DYNAMIC_CLASS(wxFontDialog
, wxDialog
)
45 wxFontDialog::wxFontDialog()
47 m_dialogParent
= NULL
;
50 wxFontDialog::wxFontDialog(wxWindow
*parent
, wxFontData
*data
)
55 bool wxFontDialog::Create(wxWindow
*parent
, wxFontData
*data
)
57 m_dialogParent
= parent
;
64 int wxFontDialog::ShowModal()
66 // TODO: show (maybe create) the dialog