This ImageDrawing is added to play independently with mouse-capture, uses of Window.GetParent().( ... componnent from Frame ) inside a class A( wx.Window ) with super-inheritance called from __init__( self, parent ), Having more change to resolve how mouse can be captured over a BufferDC context will give extra experiment done before re-integrating original struture like this ImageDraw.initBuffer does a superposition of DCBuffer. By drawing it it will probably use a wx.StaticBitmap Picture to buffered picture + drawing. This is why ImageDrawing was added as test-code.