This is the documented behaviour and not doing it breaks wxAuiTabCtrl redrawing in high DPI, as it uses this ctor for double buffering.