2 <!-- generated by wxGlade 783a09e9ee04 on Mon Mar 19 19:46:15 2012 -->
4 <application path=
"CalendarEditDlg.cc" name=
"" class=
"" option=
"0" language=
"C++" top_window=
"dialog_1" encoding=
"ISO-8859-1" use_gettext=
"0" overwrite=
"0" use_new_namespace=
"1" for_version=
"2.8" is_template=
"0" indent_amount=
"1" indent_symbol=
"tab" source_extension=
".cc" header_extension=
".h">
5 <object class=
"CalendarEditDlg" name=
"dialog_1" base=
"EditDialog">
6 <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxTHICK_FRAME
</style>
7 <title>Calendar Event
</title>
8 <object class=
"wxBoxSizer" name=
"sizer_surround" base=
"EditBoxSizer">
9 <orient>wxVERTICAL
</orient>
10 <object class=
"sizeritem">
11 <flag>wxALL|wxEXPAND
</flag>
14 <object class=
"wxBoxSizer" name=
"sizer_1" base=
"EditBoxSizer">
15 <orient>wxVERTICAL
</orient>
16 <object class=
"sizeritem">
20 <object class=
"wxFlexGridSizer" name=
"grid_sizer_1" base=
"EditFlexGridSizer">
23 <growable_cols>1</growable_cols>
26 <object class=
"sizeritem">
29 <object class=
"wxStaticText" name=
"label_1" base=
"EditStaticText">
30 <attribute>1</attribute>
31 <label>Subject:
</label>
34 <object class=
"sizeritem">
38 <object class=
"wxTextCtrl" name=
"m_Subject" base=
"EditTextCtrl">
41 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Subject))
</property>
45 <object class=
"sizeritem">
48 <object class=
"wxStaticText" name=
"label_2" base=
"EditStaticText">
49 <attribute>1</attribute>
50 <label>Location:
</label>
53 <object class=
"sizeritem">
57 <object class=
"wxTextCtrl" name=
"m_Location" base=
"EditTextCtrl">
59 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Location))
</property>
65 <object class=
"sizeritem">
66 <flag>wxALL|wxEXPAND
</flag>
69 <object class=
"wxStaticLine" name=
"static_line_1" base=
"EditStaticLine">
70 <style>wxLI_HORIZONTAL
</style>
71 <attribute>1</attribute>
74 <object class=
"sizeritem">
78 <object class=
"wxFlexGridSizer" name=
"grid_sizer_2" base=
"EditFlexGridSizer">
81 <growable_cols>1</growable_cols>
84 <object class=
"sizeritem">
87 <object class=
"wxStaticText" name=
"label_4" base=
"EditStaticText">
88 <attribute>1</attribute>
89 <label>All Day Event:
</label>
92 <object class=
"sizeritem">
95 <object class=
"wxCheckBox" name=
"m_AllDayCheck" base=
"EditCheckBox">
96 <id>Dialog_CalendarEdit_AllDayCheck
</id>
98 <handler event=
"EVT_CHECKBOX">OnAllDayEvent
</handler>
101 <property name=
"Validator">wxGenericValidator(
&m_rec.AllDayEvent)
</property>
105 <object class=
"sizeritem">
106 <flag>wxALIGN_CENTER_VERTICAL
</flag>
109 <object class=
"wxStaticText" name=
"label_5" base=
"EditStaticText">
110 <attribute>1</attribute>
111 <label>Start:
</label>
114 <object class=
"sizeritem">
115 <flag>wxEXPAND
</flag>
118 <object class=
"wxBoxSizer" name=
"sizer_3" base=
"EditBoxSizer">
119 <orient>wxHORIZONTAL
</orient>
120 <object class=
"sizeritem">
123 <object class=
"wxDatePickerCtrl" name=
"m_StartDateCtrl" base=
"EditDatePickerCtrl">
124 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY
</style>
125 <id>Dialog_CalendarEdit_StartDateCtrl
</id>
127 <handler event=
"EVT_DATE_CHANGED">OnStartDateChanged
</handler>
130 <property name=
"Validator">DateTimeValidator(
&m_StartDateObj.m_date)
</property>
135 <object class=
"sizeritem">
138 <object class=
"spacer" name=
"spacer" base=
"EditSpacer">
143 <object class=
"sizeritem">
146 <object class=
"wxSpinCtrl" name=
"m_StartHoursSpinner" base=
"EditSpinCtrl">
147 <style>wxSP_WRAP|wxTE_NOHIDESEL
</style>
148 <id>Dialog_CalendarEdit_StartHoursSpinner
</id>
151 <handler event=
"EVT_SPINCTRL">OnStartHoursSpin
</handler>
154 <property name=
"Validator">wxGenericValidator(
&m_StartDateObj.m_hour)
</property>
159 <object class=
"sizeritem">
160 <flag>wxLEFT|wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
163 <object class=
"wxStaticText" name=
"label_11" base=
"EditStaticText">
164 <attribute>1</attribute>
168 <object class=
"sizeritem">
171 <object class=
"wxSpinCtrl" name=
"m_StartMinutesSpinner" base=
"EditSpinCtrl">
172 <style>wxSP_WRAP|wxTE_NOHIDESEL
</style>
173 <id>Dialog_CalendarEdit_StartMinutesSpinner
</id>
176 <handler event=
"EVT_SPINCTRL">OnStartMinutesSpin
</handler>
179 <property name=
"Validator">wxGenericValidator(
&m_StartDateObj.m_min)
</property>
186 <object class=
"sizeritem">
187 <flag>wxALIGN_CENTER_VERTICAL
</flag>
190 <object class=
"wxStaticText" name=
"label_6" base=
"EditStaticText">
191 <attribute>1</attribute>
195 <object class=
"sizeritem">
196 <flag>wxEXPAND
</flag>
199 <object class=
"wxBoxSizer" name=
"sizer_4" base=
"EditBoxSizer">
200 <orient>wxHORIZONTAL
</orient>
201 <object class=
"sizeritem">
204 <object class=
"wxDatePickerCtrl" name=
"m_EndDateCtrl" base=
"EditDatePickerCtrl">
205 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY
</style>
206 <id>Dialog_CalendarEdit_EndDateCtrl
</id>
208 <handler event=
"EVT_DATE_CHANGED">OnEndDateChanged
</handler>
211 <property name=
"Validator">DateTimeValidator(
&m_EndDateObj.m_date)
</property>
216 <object class=
"sizeritem">
219 <object class=
"spacer" name=
"spacer" base=
"EditSpacer">
224 <object class=
"sizeritem">
227 <object class=
"wxSpinCtrl" name=
"m_EndHoursSpinner" base=
"EditSpinCtrl">
228 <style>wxSP_WRAP|wxTE_NOHIDESEL
</style>
229 <id>Dialog_CalendarEdit_EndHoursSpinner
</id>
232 <handler event=
"EVT_SPINCTRL">OnEndHoursSpin
</handler>
235 <property name=
"Validator">wxGenericValidator(
&m_EndDateObj.m_hour)
</property>
240 <object class=
"sizeritem">
241 <flag>wxALL|wxALIGN_CENTER_VERTICAL
</flag>
244 <object class=
"wxStaticText" name=
"label_12" base=
"EditStaticText">
245 <attribute>1</attribute>
249 <object class=
"sizeritem">
252 <object class=
"wxSpinCtrl" name=
"m_EndMinutesSpinner" base=
"EditSpinCtrl">
253 <style>wxSP_WRAP|wxTE_NOHIDESEL
</style>
254 <id>Dialog_CalendarEdit_EndMinutesSpinner
</id>
257 <handler event=
"EVT_SPINCTRL">OnEndMinutesSpin
</handler>
260 <property name=
"Validator">wxGenericValidator(
&m_EndDateObj.m_min)
</property>
267 <object class=
"sizeritem">
268 <flag>wxALIGN_CENTER_VERTICAL
</flag>
271 <object class=
"wxStaticText" name=
"label_7" base=
"EditStaticText">
272 <attribute>1</attribute>
273 <label>Duration:
</label>
276 <object class=
"sizeritem">
277 <flag>wxEXPAND
</flag>
280 <object class=
"wxBoxSizer" name=
"sizer_5" base=
"EditBoxSizer">
281 <orient>wxHORIZONTAL
</orient>
282 <object class=
"sizeritem">
286 <object class=
"wxSpinCtrl" name=
"m_DurationHoursSpinner" base=
"EditSpinCtrl">
287 <id>Dialog_CalendarEdit_DurationHoursSpinner
</id>
288 <range>0,
999</range>
290 <handler event=
"EVT_SPINCTRL">OnDurationHoursSpin
</handler>
293 <property name=
"Validator">wxGenericValidator(
&m_duration_hours)
</property>
298 <object class=
"sizeritem">
299 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
302 <object class=
"wxStaticText" name=
"label_13" base=
"EditStaticText">
303 <attribute>1</attribute>
304 <label>hours and
</label>
307 <object class=
"sizeritem">
311 <object class=
"wxSpinCtrl" name=
"m_DurationMinutesSpinner" base=
"EditSpinCtrl">
312 <id>Dialog_CalendarEdit_DurationMinutesSpinner
</id>
315 <handler event=
"EVT_SPINCTRL">OnDurationMinutesSpin
</handler>
318 <property name=
"Validator">wxGenericValidator(
&m_duration_minutes)
</property>
323 <object class=
"sizeritem">
324 <flag>wxALIGN_CENTER_VERTICAL
</flag>
327 <object class=
"wxStaticText" name=
"label_17" base=
"EditStaticText">
328 <attribute>1</attribute>
329 <label>minutes.
</label>
334 <object class=
"sizeritem">
335 <flag>wxALIGN_CENTER_VERTICAL
</flag>
338 <object class=
"wxStaticText" name=
"label_8" base=
"EditStaticText">
339 <attribute>1</attribute>
340 <label>Time Zone:
</label>
343 <object class=
"sizeritem">
346 <object class=
"wxChoice" name=
"m_TimezoneChoice" base=
"EditChoice">
347 <selection>0</selection>
349 <choice>System Time Zone
</choice>
353 <object class=
"sizeritem">
354 <flag>wxALIGN_CENTER_VERTICAL
</flag>
357 <object class=
"wxStaticText" name=
"label_9" base=
"EditStaticText">
358 <attribute>1</attribute>
359 <label>Show As:
</label>
362 <object class=
"sizeritem">
365 <object class=
"wxChoice" name=
"m_ShowAsChoice" base=
"EditChoice">
366 <selection>2</selection>
368 <choice>Free
</choice>
369 <choice>Tentative
</choice>
370 <choice>Busy
</choice>
371 <choice>Out of Office
</choice>
375 <object class=
"sizeritem">
376 <flag>wxALIGN_CENTER_VERTICAL
</flag>
379 <object class=
"wxStaticText" name=
"label_10" base=
"EditStaticText">
380 <attribute>1</attribute>
381 <label>Reminder:
</label>
384 <object class=
"sizeritem">
385 <flag>wxEXPAND
</flag>
388 <object class=
"wxBoxSizer" name=
"sizer_5_copy" base=
"EditBoxSizer">
389 <orient>wxHORIZONTAL
</orient>
390 <object class=
"sizeritem">
394 <object class=
"wxSpinCtrl" name=
"m_ReminderHoursSpinner" base=
"EditSpinCtrl">
395 <tooltip>Set Reminder to
0 to disable
</tooltip>
396 <range>0,
999</range>
398 <property name=
"Validator">wxGenericValidator(
&m_reminder_hours)
</property>
403 <object class=
"sizeritem">
404 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
407 <object class=
"wxStaticText" name=
"label_13_copy" base=
"EditStaticText">
408 <attribute>1</attribute>
409 <label>hours and
</label>
412 <object class=
"sizeritem">
416 <object class=
"wxSpinCtrl" name=
"m_ReminderMinutesSpinner" base=
"EditSpinCtrl">
417 <tooltip>Set Reminder to
0 to disable
</tooltip>
420 <property name=
"Validator">wxGenericValidator(
&m_reminder_minutes)
</property>
425 <object class=
"sizeritem">
426 <flag>wxALIGN_CENTER_VERTICAL
</flag>
429 <object class=
"wxStaticText" name=
"label_17_copy" base=
"EditStaticText">
430 <attribute>1</attribute>
431 <label>minutes.
</label>
438 <object class=
"sizeritem">
439 <flag>wxALL|wxEXPAND
</flag>
442 <object class=
"wxStaticLine" name=
"static_line_2" base=
"EditStaticLine">
443 <style>wxLI_HORIZONTAL
</style>
444 <attribute>1</attribute>
447 <object class=
"sizeritem">
448 <flag>wxEXPAND
</flag>
451 <object class=
"wxFlexGridSizer" name=
"grid_sizer_4" base=
"EditFlexGridSizer">
454 <growable_cols>1</growable_cols>
457 <object class=
"sizeritem">
458 <flag>wxALIGN_CENTER_VERTICAL
</flag>
461 <object class=
"wxStaticText" name=
"label_18" base=
"EditStaticText">
462 <attribute>1</attribute>
463 <label>Recurrence:
</label>
466 <object class=
"sizeritem">
469 <object class=
"wxChoice" name=
"m_RecurrenceChoice" base=
"EditChoice">
470 <selection>0</selection>
471 <id>Dialog_CalendarEdit_RecurrenceChoice
</id>
473 <choice>None
</choice>
474 <choice>Daily
</choice>
475 <choice>Weekly
</choice>
476 <choice>Monthly
</choice>
477 <choice>Yearly
</choice>
480 <handler event=
"EVT_CHOICE">OnRecurrenceChoice
</handler>
483 <property name=
"Validator">wxGenericValidator(
&m_recur_choice)
</property>
487 <object class=
"sizeritem">
488 <flag>wxALIGN_CENTER_VERTICAL
</flag>
491 <object class=
"wxStaticText" name=
"RecurIntervalLabel" base=
"EditStaticText">
492 <attribute>1</attribute>
493 <label>Interval:
</label>
496 <object class=
"sizeritem">
497 <flag>wxEXPAND
</flag>
500 <object class=
"wxBoxSizer" name=
"m_IntervalCtrlsSizer" base=
"EditBoxSizer">
501 <orient>wxHORIZONTAL
</orient>
502 <object class=
"sizeritem">
503 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
506 <object class=
"wxStaticText" name=
"RecurIntervalLabelB" base=
"EditStaticText">
507 <attribute>1</attribute>
511 <object class=
"sizeritem">
515 <object class=
"wxSpinCtrl" name=
"m_IntervalSpinner" base=
"EditSpinCtrl">
516 <range>1,
999</range>
519 <property name=
"Validator">wxGenericValidator(
&m_interval)
</property>
524 <object class=
"sizeritem">
525 <flag>wxALIGN_CENTER_VERTICAL
</flag>
528 <object class=
"wxStaticText" name=
"m_IntervalUnitLabel" base=
"EditStaticText">
529 <style>wxST_NO_AUTORESIZE
</style>
530 <attribute>1</attribute>
531 <label>days? weeks? months?
</label>
536 <object class=
"sizeritem">
537 <flag>wxALIGN_CENTER_VERTICAL
</flag>
540 <object class=
"wxStaticText" name=
"RecurDaysLabel" base=
"EditStaticText">
541 <attribute>1</attribute>
545 <object class=
"sizeritem">
546 <flag>wxEXPAND
</flag>
549 <object class=
"wxBoxSizer" name=
"m_DaysCtrlsSizer" base=
"EditBoxSizer">
550 <orient>wxHORIZONTAL
</orient>
551 <object class=
"sizeritem">
555 <object class=
"wxCheckBox" name=
"m_SunCheck" base=
"EditCheckBox">
558 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
0])
</property>
562 <object class=
"sizeritem">
566 <object class=
"wxCheckBox" name=
"m_MonCheck" base=
"EditCheckBox">
569 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
1])
</property>
573 <object class=
"sizeritem">
577 <object class=
"wxCheckBox" name=
"m_TueCheck" base=
"EditCheckBox">
580 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
2])
</property>
584 <object class=
"sizeritem">
588 <object class=
"wxCheckBox" name=
"m_WedCheck" base=
"EditCheckBox">
591 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
3])
</property>
595 <object class=
"sizeritem">
599 <object class=
"wxCheckBox" name=
"m_ThuCheck" base=
"EditCheckBox">
602 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
4])
</property>
606 <object class=
"sizeritem">
610 <object class=
"wxCheckBox" name=
"m_FriCheck" base=
"EditCheckBox">
613 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
5])
</property>
617 <object class=
"sizeritem">
621 <object class=
"wxCheckBox" name=
"m_SatCheck" base=
"EditCheckBox">
624 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
6])
</property>
630 <object class=
"sizeritem">
631 <flag>wxALIGN_CENTER_VERTICAL
</flag>
634 <object class=
"wxStaticText" name=
"RecurRelativeDateLabel" base=
"EditStaticText">
635 <attribute>1</attribute>
636 <tooltip>Relative monthly or yearly dates take the weekday of the start date into account. (eg. every first Sunday of month)
</tooltip>
637 <label>Relative Date:
</label>
640 <object class=
"sizeritem">
643 <object class=
"wxCheckBox" name=
"m_RelativeDateCheck" base=
"EditCheckBox">
644 <tooltip>Relative monthly or yearly dates take the weekday of the start date into account. (eg. every first Sunday of month)
</tooltip>
646 <property name=
"Validator">wxGenericValidator(
&m_relative_date)
</property>
650 <object class=
"sizeritem">
651 <flag>wxALIGN_CENTER_VERTICAL
</flag>
654 <object class=
"wxStaticText" name=
"RecurEndDateLabel" base=
"EditStaticText">
655 <attribute>1</attribute>
656 <label>End Date:
</label>
659 <object class=
"sizeritem">
660 <flag>wxEXPAND
</flag>
663 <object class=
"wxBoxSizer" name=
"sizer_8" base=
"EditBoxSizer">
664 <orient>wxHORIZONTAL
</orient>
665 <object class=
"sizeritem">
666 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
669 <object class=
"wxCheckBox" name=
"m_NeverEndsCheck" base=
"EditCheckBox">
671 <label>Never ends
</label>
672 <id>Dialog_CalendarEdit_NeverEndsCheck
</id>
674 <handler event=
"EVT_CHECKBOX">OnEndDateCheckbox
</handler>
677 <property name=
"Validator">wxGenericValidator(
&m_rec.Perpetual)
</property>
681 <object class=
"sizeritem">
682 <flag>wxALIGN_CENTER_VERTICAL
</flag>
685 <object class=
"wxDatePickerCtrl" name=
"m_RecurEndDateCtrl" base=
"EditDatePickerCtrl">
686 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY
</style>
687 <disabled>1</disabled>
689 <property name=
"Validator">DateTimeValidator(
&m_RecurEndDateObj.m_date)
</property>
698 <object class=
"sizeritem">
699 <flag>wxALL|wxEXPAND
</flag>
702 <object class=
"wxStaticLine" name=
"static_line_3" base=
"EditStaticLine">
703 <style>wxLI_HORIZONTAL
</style>
704 <attribute>1</attribute>
707 <object class=
"sizeritem">
708 <flag>wxEXPAND
</flag>
711 <object class=
"wxFlexGridSizer" name=
"grid_sizer_3" base=
"EditFlexGridSizer">
714 <growable_cols>1</growable_cols>
717 <object class=
"sizeritem">
718 <flag>wxALIGN_CENTER_VERTICAL
</flag>
721 <object class=
"wxStaticText" name=
"label_14" base=
"EditStaticText">
722 <attribute>1</attribute>
723 <label>Organizer:
</label>
726 <object class=
"sizeritem">
727 <flag>wxEXPAND
</flag>
730 <object class=
"wxTextCtrl" name=
"m_OrganizerText" base=
"EditTextCtrl">
732 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_organizer))
</property>
736 <object class=
"sizeritem">
737 <flag>wxALIGN_CENTER_VERTICAL
</flag>
740 <object class=
"wxStaticText" name=
"label_15" base=
"EditStaticText">
741 <attribute>1</attribute>
742 <label>Invited:
</label>
745 <object class=
"sizeritem">
746 <flag>wxEXPAND
</flag>
749 <object class=
"wxTextCtrl" name=
"m_InvitedText" base=
"EditTextCtrl">
751 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_invited))
</property>
755 <object class=
"sizeritem">
756 <flag>wxALIGN_CENTER_VERTICAL
</flag>
759 <object class=
"wxStaticText" name=
"label_16" base=
"EditStaticText">
760 <attribute>1</attribute>
761 <label>Accepted By:
</label>
764 <object class=
"sizeritem">
765 <flag>wxEXPAND
</flag>
768 <object class=
"wxTextCtrl" name=
"m_AcceptedByText" base=
"EditTextCtrl">
770 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_accepted_by))
</property>
776 <object class=
"sizeritem">
777 <flag>wxALL|wxEXPAND
</flag>
780 <object class=
"wxStaticLine" name=
"static_line_4" base=
"EditStaticLine">
781 <style>wxLI_HORIZONTAL
</style>
782 <attribute>1</attribute>
785 <object class=
"sizeritem">
786 <flag>wxEXPAND
</flag>
789 <object class=
"wxRadioBox" name=
"m_ClassRadioBox" base=
"EditRadioBox">
790 <style>wxRA_SPECIFY_COLS
</style>
791 <selection>0</selection>
792 <dimension>3</dimension>
795 <choice>Public
</choice>
796 <choice>Private
</choice>
797 <choice>Confidential
</choice>
800 <property name=
"Validator">MakeRadioBoxValidator(
&m_rec.ClassFlag).Add(Barry::Calendar::Public).Add(Barry::Calendar::Private).Add(Barry::Calendar::Confidential)
</property>
804 <object class=
"sizeritem">
805 <flag>wxALL|wxEXPAND
</flag>
808 <object class=
"wxStaticLine" name=
"static_line_5" base=
"EditStaticLine">
809 <style>wxLI_HORIZONTAL
</style>
810 <attribute>1</attribute>
813 <object class=
"sizeritem">
814 <flag>wxEXPAND
</flag>
817 <object class=
"wxBoxSizer" name=
"sizer_2" base=
"EditBoxSizer">
818 <orient>wxHORIZONTAL
</orient>
819 <object class=
"sizeritem">
823 <object class=
"wxStaticText" name=
"label_3" base=
"EditStaticText">
824 <attribute>1</attribute>
825 <label>Notes:
</label>
828 <object class=
"sizeritem">
829 <flag>wxEXPAND
</flag>
832 <object class=
"wxTextCtrl" name=
"m_NotesText" base=
"EditTextCtrl">
833 <style>wxTE_MULTILINE
</style>
835 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Notes))
</property>