wxDatePickerCtrl limitation on MSW?

Carsten A. Arnholm arnholm at offline.no
Thu Apr 24 15:19:46 PDT 2008



Hi,

[MSW 2.8.7]

I have a wxDatePickerCtrl in a dialog, but when I use the spinner to go back 
in time it stops in the year 1752 and will not go further back. I tried 
using SetRange, but apparently it did not help with the lower value

   wxDateTime lodate( 1,wxDateTime::Jan,1000);
   wxDateTime hidate(31,wxDateTime::Dec,2999);
   m_date1->SetRange(lodate,hidate);

Any ideas? Is this a limitation in the Windows control or in wxWidgets? How 
can I pick a date between the year 1000 and 3000 as indicated?

-- 
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457 




More information about the wx-users mailing list