]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/fontdlg.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / msw / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fontdlg.h
3 // Purpose: wxFontDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_MSW_FONTDLG_H_
12 #define _WX_MSW_FONTDLG_H_
13
14 // ----------------------------------------------------------------------------
15 // wxFontDialog
16 // ----------------------------------------------------------------------------
17
18 class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
19 {
20 public:
21 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
22 wxFontDialog(wxWindow *parent)
23 : wxFontDialogBase(parent) { Create(parent); }
24 wxFontDialog(wxWindow *parent, const wxFontData& data)
25 : wxFontDialogBase(parent, data) { Create(parent, data); }
26
27 virtual int ShowModal();
28
29 #if WXWIN_COMPATIBILITY_2_6
30 // deprecated interface, don't use
31 wxDEPRECATED( wxFontDialog(wxWindow *parent, const wxFontData *data) );
32 #endif // WXWIN_COMPATIBILITY_2_6
33
34 protected:
35 DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog)
36 };
37
38 #if WXWIN_COMPATIBILITY_2_6
39 // deprecated interface, don't use
40 inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
41 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
42 #endif // WXWIN_COMPATIBILITY_2_6
43
44 #endif
45 // _WX_MSW_FONTDLG_H_