From: Włodzimierz Skiba Date: Fri, 11 Jun 2004 17:19:17 +0000 (+0000) Subject: wxUSE_FONTDLG is optional. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5a3b6b0782c12b4e0e529eb4d84ccd441b5dd062 wxUSE_FONTDLG is optional. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index 827577693b..aba7f876e4 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -468,6 +468,8 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, } } //else: we're in non-interactive mode +#else + wxUnusedVar(equivEncoding); #endif // wxUSE_FONTDLG return foundEquivEncoding;