From: John L. <jr...@us...> - 2007-06-26 16:15:51
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27934/wxLua/bindings/wxwidgets Modified Files: datetime.i Log Message: Added wxLocale::Init functions for debugging problems Index: datetime.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/datetime.i,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** datetime.i 26 Jun 2007 03:22:04 -0000 1.34 --- datetime.i 26 Jun 2007 16:15:47 -0000 1.35 *************** *** 789,793 **** // call Init() if you use this ctor ! //wxLocale() // the ctor has a side effect of changing current locale --- 789,793 ---- // call Init() if you use this ctor ! wxLocale() // the ctor has a side effect of changing current locale *************** *** 800,806 **** // the same as a function (returns true on success) //bool Init(const wxChar *szName, const wxChar *szShort = (const wxChar *) NULL, const wxChar *szLocale = (const wxChar *) NULL, bool bLoadDefault = true, bool bConvertEncoding = false) // same as second ctor (returns true on success) ! //bool Init(int language = wxLANGUAGE_DEFAULT, int flags = wxLOCALE_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING); // Try to get user's (or OS's) preferred language setting. --- 800,807 ---- // the same as a function (returns true on success) //bool Init(const wxChar *szName, const wxChar *szShort = (const wxChar *) NULL, const wxChar *szLocale = (const wxChar *) NULL, bool bLoadDefault = true, bool bConvertEncoding = false) + bool Init(const wxString &szName, const wxString &szShort = "", const wxString &szLocale = "", bool bLoadDefault = true, bool bConvertEncoding = false) // same as second ctor (returns true on success) ! bool Init(int language = wxLANGUAGE_DEFAULT, int flags = wxLOCALE_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING); // Try to get user's (or OS's) preferred language setting. |