X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b19b28c8fca9815949753ed0c68097efe8943b18..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 d8b5d97cb4..13776688b2 100644 --- a/interface/wx/msw/ole/activex.h +++ b/interface/wx/msw/ole/activex.h @@ -2,8 +2,7 @@ // Name: msw/ole/activex.h // Purpose: interface of wxActiveXEvent // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -18,7 +17,7 @@ @beginEventTable{wxActiveXEvent} @event{EVT_ACTIVEX(func)} - Sent when the ActiveX control hosted by wxActiveXContainer recieves an + Sent when the ActiveX control hosted by wxActiveXContainer receives an ActiveX event. @endEventTable @@ -85,7 +84,7 @@ public: is a platform-specific class). Note that the HWND that the class contains is the actual HWND of the ActiveX - control so using dynamic events and connecting to wxEVT_SIZE, for example, + control so using dynamic events and connecting to @c wxEVT_SIZE, for example, will receive the actual size message sent to the control. It is somewhat similar to the ATL class CAxWindow in operation. @@ -267,8 +266,8 @@ public: }; wxIMPLEMENT_DYNAMIC_CLASS(wxPDFMediaBackend, wxMediaBackend); - - // Put this in one of your existant source files and then create a wxMediaCtrl with + + // 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), 0, "wxPDFMediaBackend"); @@ -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); };