]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
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_
16 #pragma interface "fontdlg.h"
19 // ----------------------------------------------------------------------------
21 // ----------------------------------------------------------------------------
23 class WXDLLEXPORT wxFontDialog
: public wxFontDialogBase
26 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
27 wxFontDialog(wxWindow
*parent
)
28 : wxFontDialogBase(parent
) { Create(parent
); }
29 wxFontDialog(wxWindow
*parent
, const wxFontData
& data
)
30 : wxFontDialogBase(parent
, data
) { Create(parent
, data
); }
32 virtual int ShowModal();
34 // deprecated interface, don't use
35 wxFontDialog(wxWindow
*parent
, const wxFontData
*data
)
36 : wxFontDialogBase(parent
, data
) { Create(parent
, data
); }
39 DECLARE_DYNAMIC_CLASS(wxFontDialog
)