]> git.saurik.com Git - wxWidgets.git/blame - include/wx/fontdlg.h
hack to fix crash when creating a DC for a widgetless window
[wxWidgets.git] / include / wx / fontdlg.h
CommitLineData
34138703
JS
1#ifndef _WX_FONTDLG_H_BASE_
2#define _WX_FONTDLG_H_BASE_
c801d85f 3
2049ba38 4#if defined(__WXMSW__)
c801d85f 5#include "wx/msw/fontdlg.h"
2049ba38 6#elif defined(__WXMOTIF__)
c801d85f 7#include "wx/generic/fontdlgg.h"
b4e76e0d 8# define wxFontDialog wxGenericFontDialog
8cb50e4b 9# define sm_classwxFontDialog sm_classwxGenericFontDialog
2049ba38 10#elif defined(__WXGTK__)
8636aed8 11#include "wx/gtk/fontdlg.h"
b4e76e0d
RR
12#elif defined(__WXQT__)
13#include "wx/generic/fontdlgg.h"
14# define wxFontDialog wxGenericFontDialog
8cb50e4b 15# define sm_classwxFontDialog sm_classwxGenericFontDialog
34138703
JS
16#elif defined(__WXMAC__)
17#include "wx/generic/fontdlgg.h"
18# define wxFontDialog wxGenericFontDialog
8cb50e4b 19# define sm_classwxFontDialog sm_classwxGenericFontDialog
1777b9bb 20#elif defined(__WXPM__)
21802234 21#include "wx/os2/fontdlg.h"
34138703
JS
22#elif defined(__WXSTUBS__)
23#include "wx/generic/fontdlgg.h"
24# define wxFontDialog wxGenericFontDialog
8cb50e4b 25# define sm_classwxFontDialog sm_classwxGenericFontDialog
c801d85f
KB
26#endif
27
28#endif
34138703 29 // _WX_FONTDLG_H_BASE_