X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c99e2fd1b3432974b892be508c0757da5b6ad49..40fc5b2f71eeb16630bf153520bf8f113b27f4df:/interface/wx/msw/ole/activex.h diff --git a/interface/wx/msw/ole/activex.h b/interface/wx/msw/ole/activex.h index d69892ba83..8f79f0e172 100644 --- a/interface/wx/msw/ole/activex.h +++ b/interface/wx/msw/ole/activex.h @@ -3,7 +3,7 @@ // Purpose: interface of wxActiveXEvent // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -263,16 +263,16 @@ public: wxActiveXContainer* m_pAX; wxAutomationObject m_PDF; - DECLARE_DYNAMIC_CLASS(wxPDFMediaBackend) + wxDECLARE_DYNAMIC_CLASS(wxPDFMediaBackend) }; - IMPLEMENT_DYNAMIC_CLASS(wxPDFMediaBackend, wxMediaBackend); - Put this in one of your existant source files and then create a wxMediaCtrl with - - //[this] is the parent window, "myfile.pdf" is the PDF file to open + wxIMPLEMENT_DYNAMIC_CLASS(wxPDFMediaBackend, wxMediaBackend); + + // Put this in one of your existant source files and then create a wxMediaCtrl with wxMediaCtrl* mymediactrl = new wxMediaCtrl(this, "myfile.pdf", wxID_ANY, wxDefaultPosition, wxSize(300,300), 0, "wxPDFMediaBackend"); + // [this] is the parent window, "myfile.pdf" is the PDF file to open @endcode