X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..6e264973e636cc41915d166cb7eddf2a7e72cf9b:/include/wx/fontdlg.h diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index e30ce09aaf..a7fe76f87d 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -1,13 +1,33 @@ -#ifndef __FONTDLGH_BASE__ -#define __FONTDLGH_BASE__ +#ifndef _WX_FONTDLG_H_BASE_ +#define _WX_FONTDLG_H_BASE_ + +#if wxUSE_FONTDLG #if defined(__WXMSW__) #include "wx/msw/fontdlg.h" #elif defined(__WXMOTIF__) #include "wx/generic/fontdlgg.h" +# define wxFontDialog wxGenericFontDialog +# define sm_classwxFontDialog sm_classwxGenericFontDialog #elif defined(__WXGTK__) +#include "wx/gtk/fontdlg.h" +#elif defined(__WXQT__) +#include "wx/generic/fontdlgg.h" +# define wxFontDialog wxGenericFontDialog +# define sm_classwxFontDialog sm_classwxGenericFontDialog +#elif defined(__WXMAC__) #include "wx/generic/fontdlgg.h" +# define wxFontDialog wxGenericFontDialog +# define sm_classwxFontDialog sm_classwxGenericFontDialog +#elif defined(__WXPM__) +#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 - // __FONTDLGH_BASE__ + // _WX_FONTDLG_H_BASE_