+ if ( encoding == wxFONTENCODING_DEFAULT )
+ {
+ encoding = wxFont::GetDefaultEncoding();
+ }
+
+ // if we failed to load the system default encoding, something is really
+ // wrong and we'd better stop now - otherwise we will go into endless
+ // recursion trying to create the font in the msg box with the error
+ // message
+ if ( encoding == wxFONTENCODING_SYSTEM )
+ {
+ wxFatalError(_("can't load any font, aborting"));
+
+ // wxFatalError doesn't return
+ }
+