warning fix for !wxUSE_FONTMAP

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2006-08-16 10:31:48 +00:00
parent 074feed0f1
commit 77f15ffe92

View File

@ -671,7 +671,10 @@ bool wxNativeFontInfo::FromUserString(const wxString& s)
wxString face;
unsigned long size;
bool weightfound = false, pointsizefound = false, encodingfound = false;
bool weightfound = false, pointsizefound = false;
#if wxUSE_FONTMAP
bool encodingfound = false;
#endif
while ( tokenizer.HasMoreTokens() )
{