X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57ab6f2314860f6efd2d1339913c91a302020a8e..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/msw/ole/activex.h?ds=sidebyside diff --git a/interface/wx/msw/ole/activex.h b/interface/wx/msw/ole/activex.h index a8e9af8b3d..13776688b2 100644 --- a/interface/wx/msw/ole/activex.h +++ b/interface/wx/msw/ole/activex.h @@ -2,7 +2,6 @@ // Name: msw/ole/activex.h // Purpose: interface of wxActiveXEvent // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -267,7 +266,7 @@ public: }; wxIMPLEMENT_DYNAMIC_CLASS(wxPDFMediaBackend, wxMediaBackend); - + // Put this in one of your existing source files and then create a wxMediaCtrl with wxMediaCtrl* mymediactrl = new wxMediaCtrl(this, "myfile.pdf", wxID_ANY, wxDefaultPosition, wxSize(300,300), @@ -278,7 +277,7 @@ public: @onlyfor{wxmsw} - @library{wxbase} + @library{wxcore} @category{ctrl,ipc} @see wxActiveXEvent, @ref page_samples_flash @@ -297,5 +296,18 @@ public: Interface of ActiveX control. */ wxActiveXContainer(wxWindow* parent, REFIID iid, IUnknown* pUnk); + /** + Queries host's site for interface. + + @param iid + The iid of the required interface. + @param _interface + Double pointer to outgoing interface. Supply your own interface if desired. + @param desc + The description of the outgoing interface. + @return bool + Return true if interface supplied else return false. + */ + virtual bool QueryClientSiteInterface(REFIID iid, void **_interface, const char *&desc); };