]>
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
, wxFontData 
*data
) 
  53 bool wxFontDialog::Create(wxWindow 
*parent
, wxFontData 
*data
) 
  55     m_dialogParent 
= parent
; 
  62 int wxFontDialog::ShowModal() 
  64     // TODO: show (maybe create) the dialog