]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/fontdlg.h
1 #ifndef _WX_FONTDLG_H_BASE_
2 #define _WX_FONTDLG_H_BASE_
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"
18 // get the font from user and return it, returns wxNullFont if the dialog was
21 wxGetFontFromUser(wxWindow
*parent
= (wxWindow
*)NULL
,
22 const wxFont
& fontInit
= wxNullFont
);
24 #endif // wxUSE_FONTDLG
27 // _WX_FONTDLG_H_BASE_