from gdi import *
+from clip_dnd import *
+
from events import *
import wx
class wxControlPtr(wxWindowPtr):
def GetSelections(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs)
return val
+ def InsertItems(self, *_args, **_kwargs):
+ val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs)
+ return val
def GetString(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_GetString,(self,) + _args, _kwargs)
return val
def IsEditable(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs)
return val
+ def Undo(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs)
+ return val
+ def Redo(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs)
+ return val
+ def write(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxTextCtrl instance at %s>" % (self.this,)
class wxTextCtrl(wxTextCtrlPtr):
#-------------- VARIABLE WRAPPERS ------------------
+cvar = controlsc.cvar
+wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)