]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/fontdlg.h
made wxApp::GetTopWindow() virtual
[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 #ifdef __GNUG__
16 #pragma interface "fontdlg.h"
17 #endif
18
19 #include "wx/dialog.h"
20 #include "wx/cmndata.h"
21
22 // ----------------------------------------------------------------------------
23 // wxFontDialog
24 // ----------------------------------------------------------------------------
25
26 class WXDLLEXPORT wxFontDialog : public wxDialog
27 {
28 public:
29 wxFontDialog();
30 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
31
32 bool Create(wxWindow *parent, wxFontData *data = NULL);
33
34 virtual int ShowModal();
35
36 wxFontData& GetFontData() { return m_fontData; }
37
38 protected:
39 wxFontData m_fontData;
40
41 DECLARE_DYNAMIC_CLASS(wxFontDialog)
42 };
43
44 #endif
45 // _WX_MSW_FONTDLG_H_
46