From d3031aeb1a1a59589b6fa40339be34f82d970259 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 6 Dec 2017 23:25:15 +0000 Subject: [PATCH] frmInvalidSSLCertificate: Build it and implemented accept/reject buttons --- source/Makefile.in | 1 + .../invalidsslcertificate/frmInvalidSSLCertificate.cpp | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/source/Makefile.in b/source/Makefile.in index f14543c..78bc763 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -64,6 +64,7 @@ xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs \ $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(FORM_EDITACCOUNTOBJS) \ $(FORM_NEWACCOUNTOBJS) $(FORM_CALENDAREDITOROBJS) \ $(FORM_EVENTEDITOROBJS) $(FORM_ACTMGROBJS) \ + $(FORM_INVALIDSSLCERTOBJS) \ $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) $(CALENDAROBJS) \ $(CALENDAREVENTOBJS) $(CALDAVOBJS) \ -o $(XCAL_OUT) $(CPPLIBS) diff --git a/source/forms/invalidsslcertificate/frmInvalidSSLCertificate.cpp b/source/forms/invalidsslcertificate/frmInvalidSSLCertificate.cpp index 4c61e9b..83755e7 100644 --- a/source/forms/invalidsslcertificate/frmInvalidSSLCertificate.cpp +++ b/source/forms/invalidsslcertificate/frmInvalidSSLCertificate.cpp @@ -27,12 +27,18 @@ frmInvalidSSLCertificateADT( parent ) void frmInvalidSSLCertificate::Accept( wxCommandEvent& event ) { -// TODO: Implement Accept + // Button 'Accept' was pressed. + + intResult = 1; + Close(); } void frmInvalidSSLCertificate::Reject( wxCommandEvent& event ) { -// TODO: Implement Reject + // Button 'Reject' was pressed. + + intResult = 2; + Close(); } void frmInvalidSSLCertificate::ViewCertificates( wxCommandEvent& event ) -- 2.39.5