]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/help.i
In GetPath(), don't append separator if there's already one at the end
[wxWidgets.git] / wxPython / src / help.i
index 66d3bf858fd61576ee71b2585c3dbabb64092de3..f7f6c5a7be307e548d5bb7da0bfabd27e4f9643f 100644 (file)
@@ -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)"
 };