reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-11-13 02:40:46 +00:00
parent 6b9f434ef3
commit c1cb24a460
17 changed files with 1706 additions and 743 deletions

View File

@@ -246,7 +246,7 @@ class Palette(GDIObject):
return _gdi_.Palette_GetPixel(*args, **kwargs)
def GetRGB(*args, **kwargs):
"""GetRGB(int pixel) -> (R,G,B)"""
"""GetRGB(self, int pixel) -> (R,G,B)"""
return _gdi_.Palette_GetRGB(*args, **kwargs)
def Ok(*args, **kwargs):
@@ -491,10 +491,6 @@ class Bitmap(GDIObject):
if self.thisown: destroy(self)
except: pass
def SetPalette(*args, **kwargs):
"""SetPalette(self, Palette palette)"""
return _gdi_.Bitmap_SetPalette(*args, **kwargs)
def GetHandle(*args, **kwargs):
"""GetHandle(self) -> long"""
return _gdi_.Bitmap_GetHandle(*args, **kwargs)
@@ -609,6 +605,14 @@ class Bitmap(GDIObject):
"""
return _gdi_.Bitmap_LoadFile(*args, **kwargs)
def GetPalette(*args, **kwargs):
"""GetPalette(self) -> Palette"""
return _gdi_.Bitmap_GetPalette(*args, **kwargs)
def SetPalette(*args, **kwargs):
"""SetPalette(self, Palette palette)"""
return _gdi_.Bitmap_SetPalette(*args, **kwargs)
def CopyFromIcon(*args, **kwargs):
"""CopyFromIcon(self, Icon icon) -> bool"""
return _gdi_.Bitmap_CopyFromIcon(*args, **kwargs)