]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/msw/ole/automtn.h
Allow wxPGMultiButton to work even if primary editor control was not created in wxPGE...
[wxWidgets.git] / interface / wx / msw / ole / automtn.h
index 818169b0b19e8659118d414bcf2dcfac75cde75e..22f47a1d8d121ba2bc5bd31783335584c90366a7 100644 (file)
@@ -33,7 +33,7 @@
     @onlyfor{wxmsw}
 
     @library{wxcore}
-    @category{misc}
+    @category{data}
 
     @see wxVariant
 */
@@ -81,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.
     */