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