X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25832b3f2bd566e5b68f066d97e0e79d2bbbd17f..bffe56c5d19df9926686722fc09ad096afb47633:/wxPython/src/msw/misc.py diff --git a/wxPython/src/msw/misc.py b/wxPython/src/msw/misc.py index 13e92a9c84..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 @@ -577,6 +583,8 @@ wxGetOsVersion = miscc.wxGetOsVersion wxGetOsDescription = miscc.wxGetOsDescription +wxShutdown = miscc.wxShutdown + wxSleep = miscc.wxSleep wxUsleep = miscc.wxUsleep @@ -603,6 +611,10 @@ wxGetUserName = miscc.wxGetUserName wxGetHomeDir = miscc.wxGetHomeDir +wxGetUserHome = miscc.wxGetUserHome + +wxGetProcessId = miscc.wxGetProcessId + def wxGetAccelFromString(*_args, **_kwargs): val = apply(miscc.wxGetAccelFromString,_args,_kwargs) if val: val = wxAcceleratorEntryPtr(val) @@ -612,6 +624,8 @@ def wxGetAccelFromString(*_args, **_kwargs): #-------------- VARIABLE WRAPPERS ------------------ +wxSHUTDOWN_POWEROFF = miscc.wxSHUTDOWN_POWEROFF +wxSHUTDOWN_REBOOT = miscc.wxSHUTDOWN_REBOOT wxLeft = miscc.wxLeft wxTop = miscc.wxTop wxRight = miscc.wxRight