search for: dp_allownone

Displaying 1 result from an estimated 1 matches for "dp_allownone".

2009 May 01
0
[ wxruby-Bugs-25749 ] DateTimePicker#get_range badly swiged - General DateTime support
...roject, everything seemed to be okay, but it was not. There were some problems: 1. Invalid objects. In WxWidgets a wxDateTime may be invalid (containing no valid date). This is used throughout the API. For DatePickerCtrl it is used to set the date to "none" (only possible with the style DP_ALLOWNONE) and by the way, to get back this value. In Ruby Time objects may not be invalid, they are always valid. So we miss a feature here. I changed the typemap for the wxDateTime type. It now accepts a nil value and converts it to an invalid wxDateTime object. The opposite is also done, an invalid wxDat...