When you drag a splitter in a splitter window, it repaints everything 'as' you are dragging it (via wxSP_LIVE_UPDATE flag).
How can I do this with a wxAUI control?
How can I do this with a wxAUI control?
if self._flags & AUI_MGR_LIVE_RESIZE: if not self._action_hintrect.IsEmpty() and self._action_hintrect != rect: self.ResizeDock(wx.Point(event.GetX(), event.GetY())); # The part pointer does not seem to survive the relayout # so we have to reacquire it here for it to be valid # at the next motion event self._action_part = self.HitTest(event.GetX(), event.GetY()) self._action_hintrect = rect end