Rewrapping wx.StaticText

Posted on: 2014-09-02 08:09:08

Per this thread (see the _Rewrap function in Robin's example code), you need to set the Label Text again in order for it to update properly:

def _Rewrap(self): 

You may also need to call self.Layout() (which is the parent of the StaticText element) in order to make sure everything is a-okay.