Thanks for your suggestion!
SetFormat() function is not available to
wxPython, I’ve tried this but it simply did not work at all.
Best regards,
Tai Tran
···
From:
wxpython-users-bounces+tttai=tma.com.vn@lists.wxwidgets.org
[mailto:wxpython-users-bounces+tttai=tma.com.vn@lists.wxwidgets.org] On Behalf Of Marc Tompkins
Sent: Tuesday, March 25, 2008
10:31 AM
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] Set
dd/mm/yyyy format to wx.DatePickerCtrl?
On Mon, Mar 24, 2008 at 8:18 PM, Tai Tran Tan tttai@tma.com.vn wrote:
Is
there a way to set the dd/mm/yyyy format to wx.DatePickerCtrl without changing
the OS regional settings?
Hope this helps (from the wxWidgets ref)
wxDatePickerCtrl::SetFormat
void SetFormat(const wxChar* * format*)
Please
note that this function is only available in the generic version of this
control. The native version always uses the current system locale.
Sets the
display format for the date in the control. See wxDateTime for the meaning of
format strings.
Remarks
If the
format parameter is invalid, the behaviour is undefined.
–