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.
Sets pen on the given dc, storing the old one. |
|
Possible constructors:
DCPenChanger(dc : DC, pen : 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.