From 71fcde7d950312eadb64e23de66adecb99b9bb67 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 10 Dec 2017 00:46:38 +0000 Subject: [PATCH] frmNewAccount: Implemented Win32 support --- source/forms/newaccount/frmNewAccount.cpp | 6 +++++- source/forms/newaccount/frmNewAccount.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/source/forms/newaccount/frmNewAccount.cpp b/source/forms/newaccount/frmNewAccount.cpp index 023e49d..57b14f9 100644 --- a/source/forms/newaccount/frmNewAccount.cpp +++ b/source/forms/newaccount/frmNewAccount.cpp @@ -18,6 +18,10 @@ #include "frmNewAccount.h" +#if defined(__WIN32__) +#include "../common/win32ssl.h" +#endif + DEFINE_EVENT_TYPE(UPDATERESULTS); DEFINE_EVENT_TYPE(RUNCALDAVTEST); @@ -553,7 +557,7 @@ void frmNewAccount::RunCalDAVTest( wxCommandEvent &event ) testConnection.BypassSSLVerification(false); - bool modifiedCertificateData = false; + BOOL modifiedCertificateData = false; CRYPTUI_VIEWCERTIFICATE_STRUCTW certificateDialogData = BuildCertificateData(&testConnection, (HWND)this->GetHandle()); diff --git a/source/forms/newaccount/frmNewAccount.h b/source/forms/newaccount/frmNewAccount.h index 8e01256..ae8c170 100644 --- a/source/forms/newaccount/frmNewAccount.h +++ b/source/forms/newaccount/frmNewAccount.h @@ -39,6 +39,10 @@ Subclass of frmNewAccountADT, which is generated by wxFormBuilder. #include "dirs.h" #include "sslcertstructs.h" +#ifdef __WIN32__ +#include "win32ssl.h" +#endif + DECLARE_EVENT_TYPE(UPDATERESULTS, wxID_ANY); DECLARE_EVENT_TYPE(RUNCALDAVTEST, wxID_ANY); -- 2.39.2