From: Steve Brokenshire Date: Wed, 6 Dec 2017 23:25:15 +0000 (+0000) Subject: frmInvalidSSLCertificate: Build it and implemented accept/reject buttons X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=d3031aeb1a1a59589b6fa40339be34f82d970259;p=xestiacalendar%2F.git frmInvalidSSLCertificate: Build it and implemented accept/reject buttons --- 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 )