1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fontdlg.h
3 // Purpose: wxFontDialog class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSW_FONTDLG_H_
13 #define _WX_MSW_FONTDLG_H_
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxFontDialog
: public wxFontDialogBase
22 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
23 wxFontDialog(wxWindow
*parent
)
24 : wxFontDialogBase(parent
) { Create(parent
); }
25 wxFontDialog(wxWindow
*parent
, const wxFontData
& data
)
26 : wxFontDialogBase(parent
, data
) { Create(parent
, data
); }
28 virtual int ShowModal();
30 #if WXWIN_COMPATIBILITY_2_6
31 // deprecated interface, don't use
32 wxDEPRECATED( wxFontDialog(wxWindow
*parent
, const wxFontData
*data
) );
33 #endif // WXWIN_COMPATIBILITY_2_6
36 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog
)
39 #if WXWIN_COMPATIBILITY_2_6
40 // deprecated interface, don't use
41 inline wxFontDialog::wxFontDialog(wxWindow
*parent
, const wxFontData
*data
)
42 : wxFontDialogBase(parent
) { InitFontData(data
); Create(parent
); }
43 #endif // WXWIN_COMPATIBILITY_2_6