- Timestamp:
- 05/23/06 15:45:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_calendar.pro
r69 r74 116 116 month = (where(allmonths EQ wid_value.combobox_gettext))[0] + 1 117 117 date = date + 100L * long(month) 118 ENDIF ELSE date = date + (oldate MOD 10000L)/100L 118 ENDIF ELSE date = date + (oldate MOD 10000L)/100L*100L 119 119 ;-------------year---------------- 120 120 wid_id = widget_info(id, find_by_uname = 'year') … … 237 237 compile_opt strictarr, strictarrsubs 238 238 ; 239 winfo_id = widget_info(event. top, find_by_uname = 'infocal')239 winfo_id = widget_info(event.handler, find_by_uname = 'infocal') 240 240 widget_control, winfo_id, get_uvalue = infowid 241 241 key_caltype = infowid.caltype … … 290 290 if n_elements(jdate0) EQ 0 then jdate0 = calendar[0] 291 291 if (where(calendar EQ jdate0))[0] EQ -1 then jdate0 = calendar[0] 292 292 ; 293 293 caldat, jdate0, month0, day0, year0 294 294 ; test the type of calendar
Note: See TracChangeset
for help on using the changeset viewer.