X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd096152351bd8a1a2073b4e5816f3c4efad563e..f63e3ebbe3272b9690aa2530e0c3048d3f37c7c7:/wxPython/src/gtk/help.py?ds=sidebyside diff --git a/wxPython/src/gtk/help.py b/wxPython/src/gtk/help.py index 7f7f764c04..ef92ad9ad4 100644 --- a/wxPython/src/gtk/help.py +++ b/wxPython/src/gtk/help.py @@ -7,6 +7,8 @@ from misc import * from gdi import * +from fonts import * + from clip_dnd import * from controls import * @@ -26,9 +28,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) - class wxHelpEventPtr(wxCommandEventPtr): def __init__(self,this): self.this = this @@ -116,6 +115,7 @@ class wxContextHelpButton(wxContextHelpButtonPtr): def __init__(self,*_args,**_kwargs): self.this = apply(helpc.new_wxContextHelpButton,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self) @@ -185,7 +185,6 @@ wxDIALOG_EX_CONTEXTHELP = helpc.wxDIALOG_EX_CONTEXTHELP wxID_CONTEXT_HELP = helpc.wxID_CONTEXT_HELP wxEVT_HELP = helpc.wxEVT_HELP wxEVT_DETAILED_HELP = helpc.wxEVT_DETAILED_HELP -wxEVT_CONTEXT_MENU = helpc.wxEVT_CONTEXT_MENU #-------------- USER INCLUDE -----------------------