#include <wx/dc.h>
wxDCTextBgModeChanger is a small helper class for setting a background text mode on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
@see wxDC::SetBackgroundMode(), wxDCFontChanger, wxDCPenChanger, wxDCBrushChanger, wxDCClipper, wxDCTextColourChanger, wxDCTextBgColourChanger @since 3.1.3