X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24f4ad95920746ebc6cfc6f2ab86f65fb53345ca..b3fcfa4d89d44425ed28050462c6064100fe7b05:/include/wx/msw/ole/automtn.h diff --git a/include/wx/msw/ole/automtn.h b/include/wx/msw/ole/automtn.h index f8af916877..81ef363be2 100644 --- a/include/wx/msw/ole/automtn.h +++ b/include/wx/msw/ole/automtn.h @@ -9,7 +9,7 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "automtn.h" #endif @@ -71,7 +71,7 @@ public: const wxVariant& arg3 = wxNullVariant, const wxVariant& arg4 = wxNullVariant, const wxVariant& arg5 = wxNullVariant, const wxVariant& arg6 = wxNullVariant); - bool wxAutomationObject::PutPropertyArray(const wxString& property, int noArgs, const wxVariant **args); + bool PutPropertyArray(const wxString& property, int noArgs, const wxVariant **args); bool PutProperty(const wxString& property, int noArgs, wxVariant args[]) ; bool PutProperty(const wxString& property, const wxVariant& arg1, const wxVariant& arg2 = wxNullVariant, @@ -92,6 +92,8 @@ public: public: WXIDISPATCH* m_dispatchPtr; + + DECLARE_NO_COPY_CLASS(wxAutomationObject) };