X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21802234dfc226c369e7d48af58e6c1b7f7242a3..0b140baaa614e0c37028b288f0948b664c549329:/include/wx/fontdlg.h diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index f4e88317c2..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__) @@ -25,5 +27,7 @@ # define sm_classwxFontDialog sm_classwxGenericFontDialog #endif +#endif // wxUSE_FONTDLG + #endif // _WX_FONTDLG_H_BASE_