I tried using the wx.TE_RICH style, and that works, but it causes an even worse problem. My font color is now black (and I have a black background—so, this is problematic.)
The same thing happens with the wx.TE_RICH2 style (these styles are used as a style parameter in Wx.TextCtrl).