X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d355d3fe69153840d740469eddacc3336da2b5ae..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/fontdlg.h?ds=sidebyside diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index 4d83cf4e0d..88205f033f 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -1,15 +1,21 @@ -#ifndef __FONTDLGH_BASE__ -#define __FONTDLGH_BASE__ +#ifndef _WX_FONTDLG_H_BASE_ +#define _WX_FONTDLG_H_BASE_ -#if defined(__WXMSW__) -#include "wx/msw/fontdlg.h" -#elif defined(__WXMOTIF__) -#include "wx/generic/fontdlgg.h" -#elif defined(__WXGTK__) -#include "wx/generic/fontdlgg.h" +#if wxUSE_FONTDLG + +#if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__) +# include "wx/generic/fontdlgg.h" # define wxFontDialog wxGenericFontDialog -# define classwxFontDialog classwxGenericFontDialog +# define sm_classwxFontDialog sm_classwxGenericFontDialog +#elif defined(__WXMSW__) +# include "wx/msw/fontdlg.h" +#elif defined(__WXGTK__) +# include "wx/gtk/fontdlg.h" +#elif defined(__WXPM__) +# include "wx/os2/fontdlg.h" #endif +#endif // wxUSE_FONTDLG + #endif - // __FONTDLGH_BASE__ + // _WX_FONTDLG_H_BASE_