// Author: Vadim Zeitlin
// Modified by:
// Created: 20.09.99
-// RCS-ID: $Id$
// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
bool wxNativeFontInfo::FromString(const wxString& s)
{
long l;
- short version;
+ unsigned long version;
wxStringTokenizer tokenizer(s, wxT(";"));
wxString token = tokenizer.GetNextToken();
- if ( !token.ToLong(&version) || version < 0 || version > 1 )
+ if ( !token.ToULong(&version) || version > 1 )
return false;
token = tokenizer.GetNextToken();
// that the different words which compose this facename are
// not different adjectives or other data but rather all parts
// of the facename
- desc << wxT(" '") << face << _("'");
+ desc << wxT(" '") << face << wxT("'");
}
else
desc << wxT(' ') << face;