]> git.saurik.com Git - wxWidgets.git/blame - include/wx/fontdlg.h
Project file update
[wxWidgets.git] / include / wx / fontdlg.h
CommitLineData
34138703
JS
1#ifndef _WX_FONTDLG_H_BASE_
2#define _WX_FONTDLG_H_BASE_
c801d85f 3
1e6feb95
VZ
4#if wxUSE_FONTDLG
5
4234ea8b
VZ
6#if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__)
7# include "wx/generic/fontdlgg.h"
b4e76e0d 8# define wxFontDialog wxGenericFontDialog
8cb50e4b 9# define sm_classwxFontDialog sm_classwxGenericFontDialog
4234ea8b
VZ
10#elif defined(__WXMSW__)
11# include "wx/msw/fontdlg.h"
2049ba38 12#elif defined(__WXGTK__)
4234ea8b 13# include "wx/gtk/fontdlg.h"
1777b9bb 14#elif defined(__WXPM__)
4234ea8b 15# include "wx/os2/fontdlg.h"
c801d85f
KB
16#endif
17
65d877d2
VZ
18// get the font from user and return it, returns wxNullFont if the dialog was
19// cancelled
bf31fa26
VZ
20wxFont WXDLLEXPORT
21wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
22 const wxFont& fontInit = wxNullFont);
23
1e6feb95
VZ
24#endif // wxUSE_FONTDLG
25
c801d85f 26#endif
34138703 27 // _WX_FONTDLG_H_BASE_