X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-Other.cpp;h=51e337e944dee6a8a2ae831c1b548bb918f2e43d;hb=ceacd8fd0f58a66fb0674419ec2f8dc0424a6955;hp=97519e6b98ed5aebd036daee1d4d36189c0f94dd;hpb=b4d439838e362c7ffa4587238580e42571ccf8ae;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-Other.cpp b/source/contacteditor/frmContactEditor-Other.cpp index 97519e6..51e337e 100644 --- a/source/contacteditor/frmContactEditor-Other.cpp +++ b/source/contacteditor/frmContactEditor-Other.cpp @@ -23,11 +23,10 @@ void frmContactEditor::AddVendorNamespace( wxCommandEvent& event ) { - int intResult = 0; + // Bring up the window for adding vendor namespace data. frmContactEditorVendor *frameCEVen = new frmContactEditorVendor ( this ); frameCEVen->SetEditorMode(FALSE); - intResult = GetLastInt(&ContactEditorData.VendorList); frameCEVen->SetupPointers(&ContactEditorData.VendorList, &ContactEditorData.VendorListPEN, &ContactEditorData.VendorListElement, @@ -42,6 +41,8 @@ void frmContactEditor::AddVendorNamespace( wxCommandEvent& event ) void frmContactEditor::ModifyVendorNamespace( wxCommandEvent& event ) { + // Bring up the window for modifying vendor namespace data. + long longSelected = -1; int intSelectedData = 0; @@ -66,6 +67,9 @@ void frmContactEditor::ModifyVendorNamespace( wxCommandEvent& event ) void frmContactEditor::DeleteVendorNamespace( wxCommandEvent& event ) { + + // Bring up the window for deleting vendor namespace data. + long longSelected = -1; int intSelectedData = 0; @@ -85,11 +89,10 @@ void frmContactEditor::DeleteVendorNamespace( wxCommandEvent& event ) void frmContactEditor::AddXToken( wxCommandEvent& event ) { - int intResult = 0; - + // Bring up the window for adding extended data. + frmContactEditorXToken *frameCEXT = new frmContactEditorXToken ( this ); frameCEXT->SetEditorMode(FALSE); - intResult = GetLastInt(&ContactEditorData.XTokenList); frameCEXT->SetupPointers(&ContactEditorData.XTokenList, &ContactEditorData.XTokenListTokens, lboXToken, @@ -103,6 +106,8 @@ void frmContactEditor::AddXToken( wxCommandEvent& event ) void frmContactEditor::ModifyXToken( wxCommandEvent& event ) { + // Bring up the window for modifying extended data. + long longSelected = -1; int intSelectedData = 0; @@ -129,6 +134,8 @@ void frmContactEditor::ModifyXToken( wxCommandEvent& event ) void frmContactEditor::DeleteXToken( wxCommandEvent& event ) { + // Bring up the window for deleting extended data. + long longSelected = -1; int intSelectedData = 0;