Inheritance diagram for wx.WindowDC:
A wx.WindowDC must be constructed if an application wishes to paint on the whole area of a window (client and decorations).
This should normally be constructed as a temporary stack object; don’t store a wx.WindowDC object.
See also
wx.BufferedDC, wx.BufferedPaintDC, wx.ClientDC, wx.MemoryDC, wx.PaintDC