wxPython updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7,6 +7,8 @@ from windows import *
|
||||
|
||||
from gdi import *
|
||||
|
||||
from clip_dnd import *
|
||||
|
||||
from events import *
|
||||
import wx
|
||||
class wxControlPtr(wxWindowPtr):
|
||||
@@ -520,6 +522,15 @@ class wxTextCtrlPtr(wxControlPtr):
|
||||
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):
|
||||
|
Reference in New Issue
Block a user