Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv4299/src/gui
Modified Files:
wxMApp.cpp
Log Message:
corrected the error message given when the default locale couldn't be set
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.248
retrieving revision 1.249
diff -b -u -2 -r1.248 -r1.249
--- wxMApp.cpp 8 Sep 2002 19:23:09 -0000 1.248
+++ wxMApp.cpp 8 Sep 2002 23:20:13 -0000 1.249
@@ -790,4 +790,10 @@
default:
+ const wxLanguageInfo *info = wxLocale::GetLanguageInfo(lang);
+ if ( info )
+ locale = info->Description;
+ else
+ locale.Printf(_("unknown language (%d)"), lang);
+
m_Locale = new wxLocale(lang);
}
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates