We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817e008 commit e13cd7dCopy full SHA for e13cd7d
sciwx/widgets/toolbar.py
@@ -23,9 +23,10 @@ def make_logo(obj):
23
a = memoryview(rgb[::3]).tolist()
24
a = bytes([255-i for i in a])
25
bmp = wx.Bitmap.FromBufferAndAlpha(16, 16, rgb, a)
26
- img = bmp.ConvertToImage()
27
- img.Resize((20,20), (2,2))
28
- return img.ConvertToBitmap()
+ # img = bmp.ConvertToImage()
+ # img.Resize((20,20), (2,2))
+ # return img.ConvertToBitmap()
29
+ return bmp
30
31
class ToolBar(wx.Panel):
32
def __init__(self, parent, vertical=False):
0 commit comments