X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..594f0f5bf1355fb8d58f403d3ebacc1c1767c429:/src/generic/fontdlgg.cpp?ds=sidebyside diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index a7c96f9667..91ad7da07b 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_FONTDLG && (!defined(__WXGTK__) || defined(__WXUNIVERSAL__)) + #ifndef WX_PRECOMP #include #include "wx/utils.h" @@ -447,4 +449,6 @@ int wxFontWeightStringToInt(wxChar *weight) return wxNORMAL; } +#endif + // wxUSE_FONTDLG