From 022a725bf932c98a00afe0d3cc4b5d26a0074998 Mon Sep 17 00:00:00 2001 From: PB Date: Thu, 9 Nov 2017 22:18:57 +0100 Subject: [PATCH] Fix few minor issues in wxAutomationObject documentation Remove redundant consts, document GetDispatchPtr() return type. --- interface/wx/msw/ole/automtn.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/wx/msw/ole/automtn.h b/interface/wx/msw/ole/automtn.h index 6183ac68fa..1df6240a0b 100644 --- a/interface/wx/msw/ole/automtn.h +++ b/interface/wx/msw/ole/automtn.h @@ -443,7 +443,7 @@ public: */ wxVariant CallMethod(const wxString& method, int noArgs, wxVariant args[]) const; - const wxVariant CallMethod(const wxString& method, ... ) const; + wxVariant CallMethod(const wxString& method, ... ) const; //@} /** @@ -471,7 +471,7 @@ public: Notice that the return value of this function is an untyped pointer but it can be safely cast to @c IDispatch. */ - void* GetDispatchPtr() const; + WXIDISPATCH* GetDispatchPtr() const; /** Retrieves the current object associated with the specified ProgID, and @@ -541,7 +541,7 @@ public: */ wxVariant GetProperty(const wxString& property, int noArgs, wxVariant args[]) const; - const wxVariant GetProperty(const wxString& property, ... ) const; + wxVariant GetProperty(const wxString& property, ... ) const; //@} /** @@ -596,7 +596,7 @@ public: */ bool PutProperty(const wxString& property, int noArgs, wxVariant args[]); - const bool PutProperty(const wxString& property, ... ); + bool PutProperty(const wxString& property, ... ); //@} /**