mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
@@ -314,6 +314,7 @@ def run():
|
||||
if p.type == 'unsigned char':
|
||||
p.pyInt = True
|
||||
|
||||
setParamsPyInt('Clear')
|
||||
setParamsPyInt('Replace')
|
||||
setParamsPyInt('ConvertAlphaToMask')
|
||||
setParamsPyInt('ConvertToMono')
|
||||
|
||||
@@ -310,6 +310,10 @@ class image_Tests(wtc.WidgetTestCase):
|
||||
imghndlr = TestImageHandler()
|
||||
wx.Image.AddHandler(imghndlr)
|
||||
|
||||
def test_imageClear(self):
|
||||
img = wx.Image(100,100)
|
||||
img.Clear(255)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user