X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f3449b43280a855e57280e6848610ea9fdaa3bb..9f4de6b2cf06f53a98b28f53640f3b9ec8cf4182:/wxPython/src/help.i diff --git a/wxPython/src/help.i b/wxPython/src/help.i index 66d3bf858f..f7f6c5a7be 100644 --- a/wxPython/src/help.i +++ b/wxPython/src/help.i @@ -37,7 +37,6 @@ enum { wxID_CONTEXT_HELP, wxEVT_HELP, wxEVT_DETAILED_HELP, - wxEVT_CONTEXT_MENU, }; @@ -54,9 +53,6 @@ def EVT_DETAILED_HELP(win, id, func): def EVT_DETAILED_HELP_RANGE(win, id, id2, func): win.Connect(id, id2, wxEVT_DETAILED_HELP, func) - -def EVT_CONTEXT_MENU(win, func): - win.Connect(-1, -1, wxEVT_CONTEXT_MENU, func) " //---------------------------------------------------------------------- @@ -110,6 +106,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" };