X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e67409dcb6b315fe1d96a3925d4a818c70d611c4..a4353f07c6b37712634d4b2d86527b647a08044f:/wxPython/src/msw/windows.py?ds=sidebyside diff --git a/wxPython/src/msw/windows.py b/wxPython/src/msw/windows.py index 12d8c73bc9..a79d3e40bd 100644 --- a/wxPython/src/msw/windows.py +++ b/wxPython/src/msw/windows.py @@ -1128,13 +1128,6 @@ class wxMenuItemPtr(wxObjectPtr): def SetBitmaps(self, *_args, **_kwargs): val = apply(windowsc.wxMenuItem_SetBitmaps,(self,) + _args, _kwargs) return val - def SetBitmap(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetBitmap,(self,) + _args, _kwargs) - return val - def GetBitmap(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetBitmap,(self,) + _args, _kwargs) - if val: val = wxBitmapPtr(val) ; val.thisown = 1 - return val def SetMarginWidth(self, *_args, **_kwargs): val = apply(windowsc.wxMenuItem_SetMarginWidth,(self,) + _args, _kwargs) return val @@ -1147,6 +1140,13 @@ class wxMenuItemPtr(wxObjectPtr): def ResetOwnerDrawn(self, *_args, **_kwargs): val = apply(windowsc.wxMenuItem_ResetOwnerDrawn,(self,) + _args, _kwargs) return val + def SetBitmap(self, *_args, **_kwargs): + val = apply(windowsc.wxMenuItem_SetBitmap,(self,) + _args, _kwargs) + return val + def GetBitmap(self, *_args, **_kwargs): + val = apply(windowsc.wxMenuItem_GetBitmap,(self,) + _args, _kwargs) + if val: val = wxBitmapPtr(val) + return val def __repr__(self): return "" % (self.this,) class wxMenuItem(wxMenuItemPtr):