]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/fontdlg.h
Made widgets sample take up less space
[wxWidgets.git] / include / wx / os2 / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: fontdlg.h
3 // Purpose: wxFontDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: David Webster
6 // Modified by:
7 // Created: 10/06/99
8 // RCS-ID: $Id$
9 // Copyright: (c) David Webster
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_FONTDLG_H_
14 #define _WX_FONTDLG_H_
15
16 #include "wx/dialog.h"
17 #include "wx/cmndata.h"
18
19 /*
20 * Font dialog
21 */
22
23 class WXDLLEXPORT wxFontDialog: public wxDialog
24 {
25 DECLARE_DYNAMIC_CLASS(wxFontDialog)
26 public:
27 wxFontDialog();
28 wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
29
30 bool Create(wxWindow *parent, wxFontData *data = NULL);
31
32 int ShowModal();
33 wxFontData& GetFontData() { return m_fontData; }
34
35 //EK protected:
36 wxWindow* m_dialogParent;
37 wxFontData m_fontData;
38 };
39
40 #endif
41 // _WX_FONTDLG_H_
42