projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better fix
[wxWidgets.git]
/
src
/
msw
/
ole
/
access.cpp
diff --git
a/src/msw/ole/access.cpp
b/src/msw/ole/access.cpp
index 9aff3c6c183c5d1b2721b974bb3e2fe689e870f4..e2bbed939dd6bdf3d83b4604fbe8b88f035613c6 100644
(file)
--- a/
src/msw/ole/access.cpp
+++ b/
src/msw/ole/access.cpp
@@
-41,7
+41,6
@@
#include <oleauto.h>
#include <oleacc.h>
#include <oleauto.h>
#include <oleacc.h>
-#include <winable.h>
#include "wx/msw/ole/oleutils.h"
#include "wx/msw/ole/oleutils.h"
@@
-1748,6
+1747,8
@@
int wxConvertToWindowsRole(wxAccRole wxrole)
{
switch (wxrole)
{
{
switch (wxrole)
{
+ case wxROLE_NONE:
+ return 0;
case wxROLE_SYSTEM_ALERT:
return ROLE_SYSTEM_ALERT;
case wxROLE_SYSTEM_ANIMATION:
case wxROLE_SYSTEM_ALERT:
return ROLE_SYSTEM_ALERT;
case wxROLE_SYSTEM_ANIMATION: