X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57ab6f2314860f6efd2d1339913c91a302020a8e..0b59366faa1b3820dfc4f4ab130000f4e471e405:/interface/wx/msw/ole/activex.h diff --git a/interface/wx/msw/ole/activex.h b/interface/wx/msw/ole/activex.h index a8e9af8b3d..9f4bda5ff7 100644 --- a/interface/wx/msw/ole/activex.h +++ b/interface/wx/msw/ole/activex.h @@ -267,7 +267,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), @@ -297,5 +297,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); };