projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor demo tweaks
[wxWidgets.git]
/
src
/
univ
/
winuniv.cpp
diff --git
a/src/univ/winuniv.cpp
b/src/univ/winuniv.cpp
index 7485272ce95f654acedafaca46db0d84e760bfb5..24e2865a77c1de5e989876428d78de9a956469ce 100644
(file)
--- a/
src/univ/winuniv.cpp
+++ b/
src/univ/winuniv.cpp
@@
-1311,6
+1311,7
@@
void wxWindow::OnKeyDown(wxKeyEvent& event)
}
#endif // wxUSE_MENUS
+#if wxUSE_BUTTON
// if it wasn't in a menu, try to find a button
if ( command != -1 )
{
@@
-1326,6
+1327,7
@@
void wxWindow::OnKeyDown(wxKeyEvent& event)
}
}
}
+#endif // wxUSE_BUTTON
// don't propagate accels from the child frame to the parent one
break;