]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/msw/ole/automtn.h
added wxPATH_RMDIR_FULL/RECURSIVE wxFileName::Rmdir() flags (closes #10422)
[wxWidgets.git] / interface / wx / msw / ole / automtn.h
index e8fe35671bfa5419693468e2a43b7781fc601544..f29b9f86c08679c0110a029c71cc02c1e804cf56 100644 (file)
@@ -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,
@@ -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.
     */