X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8291ef43d93b97e292acf1bc08f772301fa2c92..ccdc11bbaf0310a474ad7b9d41413b31c3544356:/src/msw/ole/access.cpp diff --git a/src/msw/ole/access.cpp b/src/msw/ole/access.cpp index 7a937766bb..e168dda881 100644 --- a/src/msw/ole/access.cpp +++ b/src/msw/ole/access.cpp @@ -24,15 +24,15 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/window.h" -#endif - #if wxUSE_OLE && wxUSE_ACCESSIBILITY -#include "wx/log.h" #include "wx/access.h" +#ifndef WX_PRECOMP + #include "wx/window.h" + #include "wx/log.h" +#endif + #include "wx/msw/wrapwin.h" // for some compilers, the entire ole2.h must be included, not only oleauto.h @@ -297,8 +297,8 @@ public: // Obsolete - STDMETHODIMP put_accName(VARIANT /* varChild */, BSTR /* szName */) { return E_FAIL; } - STDMETHODIMP put_accValue(VARIANT /* varChild */, BSTR /* szName */) { return E_FAIL; } + STDMETHODIMP put_accName(VARIANT WXUNUSED(varChild), BSTR WXUNUSED(szName)) { return E_FAIL; } + STDMETHODIMP put_accValue(VARIANT WXUNUSED(varChild), BSTR WXUNUSED(szName)) { return E_FAIL; } // IDispatch @@ -1991,4 +1991,4 @@ wxAccSelectionFlags wxConvertFromWindowsSelFlag(int sel) } -#endif //USE_ACCESSIBILITY +#endif // wxUSE_OLE && wxUSE_ACCESSIBILITY