X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..ae901b234c4a0aa7c1777b3bd181dd7f8517ad21:/interface/wx/msw/ole/automtn.h diff --git a/interface/wx/msw/ole/automtn.h b/interface/wx/msw/ole/automtn.h index e8fe35671b..22f47a1d8d 100644 --- a/interface/wx/msw/ole/automtn.h +++ b/interface/wx/msw/ole/automtn.h @@ -8,7 +8,6 @@ /** @class wxAutomationObject - @headerfile ole/automtn.h wx/msw/ole/automtn.h The @b wxAutomationObject class represents an OLE automation object containing a single data member, @@ -34,7 +33,7 @@ @onlyfor{wxmsw} @library{wxcore} - @category{misc} + @category{data} @see wxVariant */ @@ -82,6 +81,16 @@ public: */ bool CreateInstance(const wxString& classId) const; + /** + Checks if the object is in a valid state. + + Returns @true if the object was successfully initialized or @false if + it has no valid IDispatch pointer. + + @see GetDispatchPtr() + */ + bool IsOk() const; + /** Gets the IDispatch pointer. */