]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxKeyEvents.py
handle accel keys for owner drawn menu items (based on the patch 657105)
[wxWidgets.git] / wxPython / demo / wxKeyEvents.py
index f943c4b66bbb789da1d9958e2325330d39546bd3..e7574a702a46226228d1d3b5efffe105c046409e 100644 (file)
@@ -114,7 +114,11 @@ keyMap = {
 
 class KeySink(wxWindow):
     def __init__(self, parent):
-        wxWindow.__init__(self, parent, -1, style=wxWANTS_CHARS)
+        wxWindow.__init__(self, parent, -1, style =
+                          wxWANTS_CHARS
+                          #| wxRAISED_BORDER
+                          #| wxSUNKEN_BORDER
+                          )
         self.SetBackgroundColour(wxBLUE)
         self.haveFocus = false
         self.callSkip = false