diff --git a/interface/wx/msw/ole/automtn.h b/interface/wx/msw/ole/automtn.h index 4f50efb493..9e0359177b 100644 --- a/interface/wx/msw/ole/automtn.h +++ b/interface/wx/msw/ole/automtn.h @@ -93,8 +93,11 @@ public: /** Gets the IDispatch pointer. + + Notice that the return value of this function is an untyped pointer but + it can be safely cast to @c IDispatch. */ - IDispatch* GetDispatchPtr() const; + void* GetDispatchPtr() const; /** Retrieves the current object associated with a class id, and attaches the