From: Steve Brokenshire Date: Sun, 10 Dec 2017 00:46:38 +0000 (+0000) Subject: frmNewAccount: Implemented Win32 support X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=71fcde7d950312eadb64e23de66adecb99b9bb67;p=xestiacalendar%2F.git frmNewAccount: Implemented Win32 support --- 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);