1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/fontdlg.h
3 // Purpose: wxFontDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: David Webster
9 // Copyright: (c) David Webster
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_FONTDLG_H_
14 #define _WX_FONTDLG_H_
16 #include "wx/dialog.h"
17 #include "wx/cmndata.h"
23 class WXDLLIMPEXP_CORE wxFontDialog
: public wxFontDialogBase
26 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
27 wxFontDialog (wxWindow
* pParent
) : wxFontDialogBase(pParent
) { Create(pParent
); }
28 wxFontDialog( wxWindow
* pParent
29 ,const wxFontData
& rData
31 : wxFontDialogBase( pParent
40 virtual int ShowModal();
42 #if WXWIN_COMPATIBILITY_2_6
44 // Deprecated interface, don't use
46 wxDEPRECATED( wxFontDialog( wxWindow
* pParent
, const wxFontData
* pData
) );
47 #endif // WXWIN_COMPATIBILITY_2_6
50 DECLARE_DYNAMIC_CLASS(wxFontDialog
)
51 }; // end of CLASS wxFontDialog
53 #if WXWIN_COMPATIBILITY_2_6
54 // deprecated interface, don't use
55 inline wxFontDialog::wxFontDialog(wxWindow
*parent
, const wxFontData
*data
)
56 : wxFontDialogBase(parent
) { InitFontData(data
); Create(parent
); }
57 #endif // WXWIN_COMPATIBILITY_2_6