util/BitmapLibrary.py
branchwxPython4
changeset 3303 0ffb41625592
parent 1881 091005ec69c4
child 3750 f62625418bff
--- a/util/BitmapLibrary.py	Thu Sep 02 21:36:29 2021 +0200
+++ b/util/BitmapLibrary.py	Thu Sep 02 22:18:14 2021 +0200
@@ -71,7 +71,7 @@
             height = max(bmp1.GetHeight(), bmp2.GetHeight())
 
             # Create bitmap with both icons
-            bmp = wx.EmptyBitmap(width, height)
+            bmp = wx.Bitmap(width, height)
             dc = wx.MemoryDC()
             dc.SelectObject(bmp)
             dc.Clear()