X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/src/msw/misc.py diff --git a/wxPython/src/msw/misc.py b/wxPython/src/msw/misc.py index de639e834b..da15ae6345 100644 --- a/wxPython/src/msw/misc.py +++ b/wxPython/src/msw/misc.py @@ -50,6 +50,9 @@ class wxSizePtr : def asTuple(self, *_args, **_kwargs): val = apply(miscc.wxSize_asTuple,(self,) + _args, _kwargs) return val + def __cmp__(self, *_args, **_kwargs): + val = apply(miscc.wxSize___cmp__,(self,) + _args, _kwargs) + return val def __setattr__(self,name,value): if name == "x" : miscc.wxSize_x_set(self,value) @@ -600,6 +603,8 @@ wxGetUserName = miscc.wxGetUserName wxGetHomeDir = miscc.wxGetHomeDir +wxGetUserHome = miscc.wxGetUserHome + def wxGetAccelFromString(*_args, **_kwargs): val = apply(miscc.wxGetAccelFromString,_args,_kwargs) if val: val = wxAcceleratorEntryPtr(val)