From 6e35d7ca0e7d975c133f024321939fa1dabb2fe5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Nov 2006 11:14:57 +0000 Subject: [PATCH] handle all wxROLE_XXX values in wxConvertToWindowsRole() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/ole/access.cpp | 2 ++ 1 file changed, 2 insertions(+) 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: