X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/123908fc47164c4437202e96f8dffbbf6e096d5c..a90253f00d9290c4682968f18a4f84a2b6d4a98a:/wxPython/src/gtk/wx.py?ds=sidebyside diff --git a/wxPython/src/gtk/wx.py b/wxPython/src/gtk/wx.py index 14a9a8937b..627080b5ae 100644 --- a/wxPython/src/gtk/wx.py +++ b/wxPython/src/gtk/wx.py @@ -88,6 +88,9 @@ class wxPyAppPtr(wxEvtHandlerPtr): def ProcessIdle(self, *_args, **_kwargs): val = apply(wxc.wxPyApp_ProcessIdle,(self,) + _args, _kwargs) return val + def Yield(self, *_args, **_kwargs): + val = apply(wxc.wxPyApp_Yield,(self,) + _args, _kwargs) + return val def SetAppName(self, *_args, **_kwargs): val = apply(wxc.wxPyApp_SetAppName,(self,) + _args, _kwargs) return val @@ -255,6 +258,10 @@ wxTE_NOHIDESEL = wxc.wxTE_NOHIDESEL wxTE_DONTWRAP = wxc.wxTE_DONTWRAP wxTE_LINEWRAP = wxc.wxTE_LINEWRAP wxTE_WORDWRAP = wxc.wxTE_WORDWRAP +wxTE_LEFT = wxc.wxTE_LEFT +wxTE_RIGHT = wxc.wxTE_RIGHT +wxTE_CENTER = wxc.wxTE_CENTER +wxTE_CENTRE = wxc.wxTE_CENTRE wxCB_SIMPLE = wxc.wxCB_SIMPLE wxCB_DROPDOWN = wxc.wxCB_DROPDOWN wxCB_SORT = wxc.wxCB_SORT @@ -1730,6 +1737,7 @@ class wxPySimpleApp(wxApp): def __init__(self, flag=0): wxApp.__init__(self, flag) def OnInit(self): + wxInitAllImageHandlers() return true