]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/fontdlg.h
added wx/object.h include (bug 1398517)
[wxWidgets.git] / include / wx / msw / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: fontdlg.h
3 // Purpose: wxFontDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MSW_FONTDLG_H_
13 #define _WX_MSW_FONTDLG_H_
14
15 // ----------------------------------------------------------------------------
16 // wxFontDialog
17 // ----------------------------------------------------------------------------
18
19 class WXDLLEXPORT wxFontDialog : public wxFontDialogBase
20 {
21 public:
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); }
27
28 virtual int ShowModal();
29
30 // deprecated interface, don't use
31 wxFontDialog(wxWindow *parent, const wxFontData *data)
32 : wxFontDialogBase(parent, data) { Create(parent, data); }
33
34 protected:
35 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog)
36 };
37
38 #endif
39 // _WX_MSW_FONTDLG_H_
40