From: <ma...@us...> - 2003-12-31 16:40:15
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1:/tmp/cvs-serv19710 Modified Files: wxInterface.cpp Log Message: BSD i18n workaround Index: wxInterface.cpp =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/wxInterface.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- wxInterface.cpp 29 Dec 2003 06:08:48 -0000 1.14 +++ wxInterface.cpp 31 Dec 2003 16:40:12 -0000 1.15 @@ -264,6 +264,9 @@ * returned (use system setting). */ int wxInterface::GetLangType(const wxString lang) { +#ifdef __BSD__ + return wxLANGUAGE_DEFAULT; /* Doesn't work on BSD for some reason */ +#endif if (lang == wxT("German")) { return wxLANGUAGE_GERMAN; } else if (lang == wxT("Estonian")) { |