From 43d65dc03325bcce8561423b9607f7e114355f7d Mon Sep 17 00:00:00 2001 From: ferbas Date: Wed, 13 Jan 2010 09:41:29 +0000 Subject: initial import git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../sources/import/SDK/wxInit.h | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h') diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h new file mode 100644 index 0000000..0a016aa --- /dev/null +++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h @@ -0,0 +1,39 @@ +#ifndef __WXINIT__ +#define __WXINIT__ + +#include "wx/init.h" +#include "wx/app.h" +#include "wx/frame.h" +#ifdef MAC_PLATFORM +#include "wx/cocoa/ObjcPose.h" +#endif + +// Define a new application type +class PluginApp: public wxApp +{ +public: + bool OnInit(); + DECLARE_EVENT_TABLE() +}; + +class AcrobatFrame : public wxFrame +{ + public: + AcrobatFrame(); + private: + DECLARE_EVENT_TABLE() +}; +#ifdef MAC_PLATFORM +//without this, Acrobat crashes, I think based on deleting something it shouldn't +class myPoseAsInitializer : public wxPoseAsInitializer +{ +public: + myPoseAsInitializer() + { + m_next = NULL; + } +}; +#endif +extern AcrobatFrame* mainFrame; + +#endif \ No newline at end of file -- cgit v1.2.3