X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7fc54becc0a72fa5b8c8bb30f4e087f93ad83d3..bffe56c5d19df9926686722fc09ad096afb47633:/wxPython/src/msw/misc.py diff --git a/wxPython/src/msw/misc.py b/wxPython/src/msw/misc.py index 119176bae0..6b6aa5421e 100644 --- a/wxPython/src/msw/misc.py +++ b/wxPython/src/msw/misc.py @@ -252,6 +252,12 @@ class wxRectPtr : val = apply(miscc.wxRect_GetSize,(self,) + _args, _kwargs) if val: val = wxSizePtr(val) ; val.thisown = 1 return val + def SetPosition(self, *_args, **_kwargs): + val = apply(miscc.wxRect_SetPosition,(self,) + _args, _kwargs) + return val + def SetSize(self, *_args, **_kwargs): + val = apply(miscc.wxRect_SetSize,(self,) + _args, _kwargs) + return val def GetLeft(self, *_args, **_kwargs): val = apply(miscc.wxRect_GetLeft,(self,) + _args, _kwargs) return val @@ -607,6 +613,8 @@ wxGetHomeDir = miscc.wxGetHomeDir wxGetUserHome = miscc.wxGetUserHome +wxGetProcessId = miscc.wxGetProcessId + def wxGetAccelFromString(*_args, **_kwargs): val = apply(miscc.wxGetAccelFromString,_args,_kwargs) if val: val = wxAcceleratorEntryPtr(val)