]> git.saurik.com Git - wxWidgets.git/blob - include/wx/fontdlg.h
A few little cleanups, etc.
[wxWidgets.git] / include / wx / fontdlg.h
1 #ifndef _WX_FONTDLG_H_BASE_
2 #define _WX_FONTDLG_H_BASE_
3
4 #if wxUSE_FONTDLG
5
6 #if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__)
7 # include "wx/generic/fontdlgg.h"
8 # define wxFontDialog wxGenericFontDialog
9 # define sm_classwxFontDialog sm_classwxGenericFontDialog
10 #elif defined(__WXMSW__)
11 # include "wx/msw/fontdlg.h"
12 #elif defined(__WXGTK__)
13 # include "wx/gtk/fontdlg.h"
14 #elif defined(__WXPM__)
15 # include "wx/os2/fontdlg.h"
16 #endif
17
18 // get the font from user and return it, returns wxNullFont if the dialog was
19 // cancelled
20 wxFont WXDLLEXPORT
21 wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
22 const wxFont& fontInit = wxNullFont);
23
24 #endif // wxUSE_FONTDLG
25
26 #endif
27 // _WX_FONTDLG_H_BASE_