 wx.DCBrushChanger¶
 wx.DCBrushChanger¶wx.DCBrushChanger is a small helper class for setting a brush on a wx.DC and unsetting it automatically in the destructor, restoring the previous one.
 Class Hierarchy¶
 Class Hierarchy¶ Inheritance diagram for class DCBrushChanger:
Inheritance diagram for class DCBrushChanger:
 Methods Summary¶
 Methods Summary¶| Sets brush on the given dc, storing the old one. | |
 Class API¶
 Class API¶Possible constructors:
DCBrushChanger(dc, brush) -> None
DCBrushChanger is a small helper class for setting a brush on a DC and unsetting it automatically in the destructor, restoring the previous one.
Sets brush on the given dc, storing the old one.