wxDateTime Locale problem with wxWinCE

Benoit JACQUIER b.jacquier at amesys.fr
Tue Sep 4 05:16:58 PDT 2007


Well, it doesn't work for me with WinCE.
I think locale is not really implemented in wxWinCE, but I'm not sure...

Ben
 
 
-----Message d'origine-----
De : koen at vermeer.tv [mailto:koen at vermeer.tv] 
Envoyé : mardi 4 septembre 2007 11:23
À : wx-users at lists.wxwidgets.org
Objet : Re: wxDateTime Locale problem with wxWinCE

> wxDateTime::FormatDate() and  wxDateTime::FormatTime() always return the
> GMT-8 date/time.

In the constructor of my wxApp, I do:

    wxLocale wxLoc;
    wxLoc.Init(wxLANGUAGE_DEFAULT);

That seems to do the trick for me (2.8.4 on WinXP).

Koen



---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org





More information about the wx-users mailing list