]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/access.cpp
include jconfig.vc under OS/2 too
[wxWidgets.git] / src / msw / ole / access.cpp
index 9aff3c6c183c5d1b2721b974bb3e2fe689e870f4..b1ddbb9a34fd99441217f2526ac5c4c548160e61 100644 (file)
@@ -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: