X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-Calendar.cpp;h=e4b813536f9656c57f5a7e37cb1a0c853b471661;hb=ceacd8fd0f58a66fb0674419ec2f8dc0424a6955;hp=95235c1bb19351dc74aa1dff57772aed6ff497a5;hpb=7c7382aec816add24a96a03f4cd37c461f48e9b6;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-Calendar.cpp b/source/contacteditor/frmContactEditor-Calendar.cpp index 95235c1..e4b8135 100644 --- a/source/contacteditor/frmContactEditor-Calendar.cpp +++ b/source/contacteditor/frmContactEditor-Calendar.cpp @@ -22,11 +22,10 @@ void frmContactEditor::AddCalendarAddress( wxCommandEvent& event ) { - int intResult = 0; + // Bring up the window to add the calendar address. frmContactEditorCalAdr *frameCECalAdr = new frmContactEditorCalAdr ( this ); frameCECalAdr->SetEditorMode(FALSE); - intResult = GetLastInt(&ContactEditorData.CalendarList); frameCECalAdr->SetupPointers(&ContactEditorData.CalendarList, &ContactEditorData.CalendarListAltID, &ContactEditorData.CalendarListPID, @@ -44,6 +43,8 @@ void frmContactEditor::AddCalendarAddress( wxCommandEvent& event ) void frmContactEditor::ModifyCalendarAddress( wxCommandEvent& event ) { + // Bring up the window to modify the calendar address. + long longSelected = -1; int intSelectedData = 0; @@ -74,6 +75,8 @@ void frmContactEditor::ModifyCalendarAddress( wxCommandEvent& event ) void frmContactEditor::DeleteCalendarAddress( wxCommandEvent& event ) { + // Bring up the window to delete the calendar address. + long longSelected = -1; int intSelectedData = 0; @@ -96,11 +99,10 @@ void frmContactEditor::DeleteCalendarAddress( wxCommandEvent& event ) void frmContactEditor::AddCalendarRequest( wxCommandEvent& event ) { - int intResult = 0; + // Bring up the window to add a calendar request address. frmContactEditorCalAdr *frameCECalAdr = new frmContactEditorCalAdr ( this ); frameCECalAdr->SetEditorMode(FALSE); - intResult = GetLastInt(&ContactEditorData.CalendarRequestList); frameCECalAdr->SetupPointers(&ContactEditorData.CalendarRequestList, &ContactEditorData.CalendarRequestListAltID, &ContactEditorData.CalendarRequestListPID, @@ -118,6 +120,8 @@ void frmContactEditor::AddCalendarRequest( wxCommandEvent& event ) void frmContactEditor::ModifyCalendarRequest( wxCommandEvent& event ) { + // Bring up the window to modify a calendar request address. + long longSelected = -1; int intSelectedData = 0; @@ -148,6 +152,8 @@ void frmContactEditor::ModifyCalendarRequest( wxCommandEvent& event ) void frmContactEditor::DeleteCalendarRequest( wxCommandEvent& event ) { + // Bring up the window to delete a calendar request address. + long longSelected = -1; int intSelectedData = 0; @@ -171,11 +177,10 @@ void frmContactEditor::DeleteCalendarRequest( wxCommandEvent& event ) void frmContactEditor::AddFreeBusy( wxCommandEvent& event ) { - int intResult = 0; + // Bring up the window to add a calendar free/busy address. frmContactEditorCalAdr *frameCECalAdr = new frmContactEditorCalAdr ( this ); frameCECalAdr->SetEditorMode(FALSE); - intResult = GetLastInt(&ContactEditorData.FreeBusyList); frameCECalAdr->SetupPointers(&ContactEditorData.FreeBusyList, &ContactEditorData.FreeBusyListAltID, &ContactEditorData.FreeBusyListPID, @@ -193,6 +198,8 @@ void frmContactEditor::AddFreeBusy( wxCommandEvent& event ) void frmContactEditor::ModifyFreeBusy( wxCommandEvent& event ) { + // Bring up the window to modify a calendar free/busy address. + long longSelected = -1; int intSelectedData = 0; @@ -223,6 +230,8 @@ void frmContactEditor::ModifyFreeBusy( wxCommandEvent& event ) void frmContactEditor::DeleteFreeBusy( wxCommandEvent& event ) { + // Bring up the window to delete a calendar free/busy address. + long longSelected = -1; int intSelectedData = 0;