A wx:memory-dc% object supports drawing into a bitmap. A wx:bitmap% object must be selected into a memory DC using select-object before any other method of the DC is called. The result of calling a method before a bitmap is selected into the DC is undefined.
Creates a new memory DC.
Creates a new memory DC with similar attributes (e.g., colour depth) to the given canvas DC.