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