]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_extras.py
Changed the img2py tool to use PNG instead of XPM for embedding image
[wxWidgets.git] / wxPython / src / _extras.py
index f1733cee51000b6ec80ea4384f620f4b33b88ea8..6f61d91b81e7a9403aaed9b86da8a1648069bcaa 100644 (file)
@@ -62,6 +62,12 @@ def EVT_KEY_DOWN(win, func):
 def EVT_KEY_UP(win, func):
     win.Connect(-1, -1, wxEVT_KEY_UP, func)
 
+def EVT_MENU_OPEN(win, func):
+    win.Connect(-1, -1, wxEVT_MENU_OPEN, func)
+
+def EVT_MENU_CLOSE(win, func):
+    win.Connect(-1, -1, wxEVT_MENU_CLOSE, func)
+
 def EVT_MENU_HIGHLIGHT(win, id, func):
     win.Connect(id, -1, wxEVT_MENU_HIGHLIGHT, func)