Make all wxMask constructors use the C++ (bitmap, colour) ctor, and
then just default in BLACK to simulate the default (monobitmap) behaviour. It's too tricky to make true monochome bitmaps in a platform independent way from the Python wrappers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,7 +42,6 @@ wxBitmapFromXPMData = wx.gdi.BitmapFromXPMData
|
||||
wxBitmapFromBits = wx.gdi.BitmapFromBits
|
||||
wxMask = wx.gdi.Mask
|
||||
wxMaskPtr = wx.gdi.MaskPtr
|
||||
wxMaskColour = wx.gdi.MaskColour
|
||||
wxIcon = wx.gdi.Icon
|
||||
wxIconPtr = wx.gdi.IconPtr
|
||||
wxEmptyIcon = wx.gdi.EmptyIcon
|
||||
@@ -592,5 +591,6 @@ wxMirrorDC_old = wx.gdi.MirrorDC_old
|
||||
wxPostScriptDC_old = wx.gdi.PostScriptDC_old
|
||||
wxMetaFileDC_old = wx.gdi.MetaFileDC_old
|
||||
wxPrinterDC_old = wx.gdi.PrinterDC_old
|
||||
wxMaskColour = wx.gdi.MaskColour
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user