]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/fontdlg.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / os2 / fontdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/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 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_FONTDLG_H_
13 #define _WX_FONTDLG_H_
14
15 #include "wx/dialog.h"
16
17 /*
18 * Font dialog
19 */
20
21 class WXDLLIMPEXP_CORE wxFontDialog: public wxFontDialogBase
22 {
23 public:
24 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
25 wxFontDialog (wxWindow* pParent) : wxFontDialogBase(pParent) { Create(pParent); }
26 wxFontDialog( wxWindow* pParent
27 ,const wxFontData& rData
28 )
29 : wxFontDialogBase( pParent
30 ,rData
31 )
32 {
33 Create( pParent
34 ,rData
35 );
36 }
37
38 virtual int ShowModal();
39
40 #if WXWIN_COMPATIBILITY_2_6
41 //
42 // Deprecated interface, don't use
43 //
44 wxDEPRECATED( wxFontDialog( wxWindow* pParent, const wxFontData* pData ) );
45 #endif // WXWIN_COMPATIBILITY_2_6
46
47 protected:
48 DECLARE_DYNAMIC_CLASS(wxFontDialog)
49 }; // end of CLASS wxFontDialog
50
51 #if WXWIN_COMPATIBILITY_2_6
52 // deprecated interface, don't use
53 inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
54 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
55 #endif // WXWIN_COMPATIBILITY_2_6
56
57 #endif
58 // _WX_FONTDLG_H_