/**
@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,
@onlyfor{wxmsw}
@library{wxcore}
- @category{misc}
+ @category{data}
@see wxVariant
*/
*/
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.
*/