Built-in escape method for wx.StaticText

According to wxWidgets doc, one needs to escape certain characters for
wx.StaticText:

& & or as &&
   ’ '
   " "
   < &lt;
   > &gt;

Does such a feature exist (built-in) in wx, or do I have to manually implement
it?