X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca5c6ac3f4ab8778dba270798a6a8acdefc671e0..48f0334de5cf9c4087c67a65b8f2fa3f1a0c63a2:/src/msw/ole/access.cpp diff --git a/src/msw/ole/access.cpp b/src/msw/ole/access.cpp index 9aff3c6c18..a2ebcd017f 100644 --- a/src/msw/ole/access.cpp +++ b/src/msw/ole/access.cpp @@ -41,7 +41,6 @@ #include #include -#include #include "wx/msw/ole/oleutils.h" @@ -88,7 +87,7 @@ private: wxVariant m_variant; // List of further variants int m_nCurrent; // Current enum position - DECLARE_NO_COPY_CLASS(wxIEnumVARIANT) + wxDECLARE_NO_COPY_CLASS(wxIEnumVARIANT); }; // ---------------------------------------------------------------------------- @@ -336,7 +335,7 @@ public: private: wxAccessible *m_pAccessible; // pointer to C++ class we belong to - DECLARE_NO_COPY_CLASS(wxIAccessible) + wxDECLARE_NO_COPY_CLASS(wxIAccessible); }; // ============================================================================ @@ -1748,6 +1747,8 @@ int wxConvertToWindowsRole(wxAccRole wxrole) { switch (wxrole) { + case wxROLE_NONE: + return 0; case wxROLE_SYSTEM_ALERT: return ROLE_SYSTEM_ALERT; case wxROLE_SYSTEM_ANIMATION: