]>
Commit | Line | Data |
---|---|---|
2bda0e17 | 1 | ///////////////////////////////////////////////////////////////////////////// |
ca3e85cf | 2 | // Name: wx/msw/fontdlg.h |
2bda0e17 KB |
3 | // Purpose: wxFontDialog class |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
bbcdf8bc | 7 | // Copyright: (c) Julian Smart |
65571936 | 8 | // Licence: wxWindows licence |
2bda0e17 KB |
9 | ///////////////////////////////////////////////////////////////////////////// |
10 | ||
11c7d5b6 VZ |
11 | #ifndef _WX_MSW_FONTDLG_H_ |
12 | #define _WX_MSW_FONTDLG_H_ | |
2bda0e17 | 13 | |
11c7d5b6 VZ |
14 | // ---------------------------------------------------------------------------- |
15 | // wxFontDialog | |
16 | // ---------------------------------------------------------------------------- | |
bbcdf8bc | 17 | |
53a2db12 | 18 | class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase |
11c7d5b6 | 19 | { |
bbcdf8bc | 20 | public: |
3fde374f VZ |
21 | wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ } |
22 | wxFontDialog(wxWindow *parent) | |
23 | : wxFontDialogBase(parent) { Create(parent); } | |
dbc65e27 | 24 | wxFontDialog(wxWindow *parent, const wxFontData& data) |
3fde374f | 25 | : wxFontDialogBase(parent, data) { Create(parent, data); } |
bbcdf8bc | 26 | |
11c7d5b6 VZ |
27 | virtual int ShowModal(); |
28 | ||
ca3e85cf | 29 | #if WXWIN_COMPATIBILITY_2_6 |
3fde374f | 30 | // deprecated interface, don't use |
ca3e85cf WS |
31 | wxDEPRECATED( wxFontDialog(wxWindow *parent, const wxFontData *data) ); |
32 | #endif // WXWIN_COMPATIBILITY_2_6 | |
bbcdf8bc JS |
33 | |
34 | protected: | |
fc7a2a60 | 35 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog) |
2bda0e17 KB |
36 | }; |
37 | ||
ca3e85cf WS |
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 | ||
2bda0e17 | 44 | #endif |
11c7d5b6 | 45 | // _WX_MSW_FONTDLG_H_ |