[wxruby-users] wxDatePickerCtrl

Alex Fenton alex at pressure.to
Fri Mar 6 10:11:49 EST 2009


Rooby Nooby wrote:
> Does anyone know if there is any way to show the date in a 
> wxDatePickerCtrl in UK date format (dd/mm/yyyy) rather than the default 
> mm/dd/yyyy?
>   
Try adding this somewhere early in your App.run / App#on_init code:

Wx::App.run do
  Wx::Locale.locale = 'en_GB'
  ...
end

a


More information about the wxruby-users mailing list