from gdi import *
+from fonts import *
+
from clip_dnd import *
from controls import *
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
-class wxContextMenuEventPtr(wxCommandEventPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def GetPosition(self, *_args, **_kwargs):
- val = apply(helpc.wxContextMenuEvent_GetPosition,(self,) + _args, _kwargs)
- if val: val = wxPointPtr(val)
- return val
- def SetPosition(self, *_args, **_kwargs):
- val = apply(helpc.wxContextMenuEvent_SetPosition,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxContextMenuEvent instance at %s>" % (self.this,)
-class wxContextMenuEvent(wxContextMenuEventPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(helpc.new_wxContextMenuEvent,_args,_kwargs)
- self.thisown = 1
-
-
-
-
class wxContextHelpPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
def __init__(self,*_args,**_kwargs):
self.this = apply(helpc.new_wxContextHelpButton,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
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 -----------------------
# Stuff these names into the wx namespace so wxPyConstructObject can find them
import wx
wx.wxHelpEventPtr = wxHelpEventPtr
-wx.wxContextMenuEventPtr = wxContextMenuEventPtr