X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d0918205aae1b1a45267ad7ddfab8eb00185dce..e52cac90cda8f499169a247e7f23c985b16a70e6:/utils/wxPython/src/gtk/controls.py diff --git a/utils/wxPython/src/gtk/controls.py b/utils/wxPython/src/gtk/controls.py index ab4b2c42c9..c8beea6db2 100644 --- a/utils/wxPython/src/gtk/controls.py +++ b/utils/wxPython/src/gtk/controls.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from clip_dnd import * + from events import * import wx class wxControlPtr(wxWindowPtr): @@ -349,6 +351,9 @@ class wxListBoxPtr(wxControlPtr): 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 @@ -517,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 "" % (self.this,) class wxTextCtrl(wxTextCtrlPtr): @@ -770,3 +784,5 @@ class wxSlider(wxSliderPtr): #-------------- VARIABLE WRAPPERS ------------------ +cvar = controlsc.cvar +wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)