]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/fontdlg.h
Add some basic tests for wxDataViewCtrl selection handling.
[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 // 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
18 /*
19 * Font dialog
20 */
21
22 class WXDLLIMPEXP_CORE wxFontDialog: public wxFontDialogBase
23 {
24 public:
25 wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
26 wxFontDialog (wxWindow* pParent) : wxFontDialogBase(pParent) { Create(pParent); }
27 wxFontDialog( wxWindow* pParent
28 ,const wxFontData& rData
29 )
30 : wxFontDialogBase( pParent
31 ,rData
32 )
33 {
34 Create( pParent
35 ,rData
36 );
37 }
38
39 virtual int ShowModal();
40
41 #if WXWIN_COMPATIBILITY_2_6
42 //
43 // Deprecated interface, don't use
44 //
45 wxDEPRECATED( wxFontDialog( wxWindow* pParent, const wxFontData* pData ) );
46 #endif // WXWIN_COMPATIBILITY_2_6
47
48 protected:
49 DECLARE_DYNAMIC_CLASS(wxFontDialog)
50 }; // end of CLASS wxFontDialog
51
52 #if WXWIN_COMPATIBILITY_2_6
53 // deprecated interface, don't use
54 inline wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData *data)
55 : wxFontDialogBase(parent) { InitFontData(data); Create(parent); }
56 #endif // WXWIN_COMPATIBILITY_2_6
57
58 #endif
59 // _WX_FONTDLG_H_