X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8636aed89614be928547793f91cea7ca54a0d9a8..39348a963113e240ab67e8b3534104e3a04ff764:/include/wx/fontdlg.h?ds=sidebyside diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index b9cc32e084..a7fe76f87d 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -1,6 +1,8 @@ #ifndef _WX_FONTDLG_H_BASE_ #define _WX_FONTDLG_H_BASE_ +#if wxUSE_FONTDLG + #if defined(__WXMSW__) #include "wx/msw/fontdlg.h" #elif defined(__WXMOTIF__) @@ -18,14 +20,14 @@ # define wxFontDialog wxGenericFontDialog # define sm_classwxFontDialog sm_classwxGenericFontDialog #elif defined(__WXPM__) -#include "wx/generic/fontdlgg.h" -# define wxFontDialog wxGenericFontDialog -# define sm_classwxFontDialog sm_classwxGenericFontDialog +#include "wx/os2/fontdlg.h" #elif defined(__WXSTUBS__) #include "wx/generic/fontdlgg.h" # define wxFontDialog wxGenericFontDialog # define sm_classwxFontDialog sm_classwxGenericFontDialog #endif +#endif // wxUSE_FONTDLG + #endif // _WX_FONTDLG_H_BASE_