X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca5c6ac3f4ab8778dba270798a6a8acdefc671e0..c3a58b249e576b73b01cd74deb1cf879aa6e1975:/src/msw/ole/access.cpp?ds=sidebyside diff --git a/src/msw/ole/access.cpp b/src/msw/ole/access.cpp index 9aff3c6c18..b1ddbb9a34 100644 --- a/src/msw/ole/access.cpp +++ b/src/msw/ole/access.cpp @@ -1748,6 +1748,8 @@ int wxConvertToWindowsRole(wxAccRole wxrole) { switch (wxrole) { + case wxROLE_NONE: + return 0; case wxROLE_SYSTEM_ALERT: return ROLE_SYSTEM_ALERT; case wxROLE_SYSTEM_ANIMATION: