git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16395
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
self.EnableScrolling(false, true)
self.SetScrollRate(0, 20)
box.SetVirtualSizeHints(self)
self.EnableScrolling(false, true)
self.SetScrollRate(0, 20)
box.SetVirtualSizeHints(self)
EVT_CHILD_FOCUS(self, self.OnChildFocus)
EVT_CHILD_FOCUS(self, self.OnChildFocus)
+ wxCallAfter(self.Scroll, 0, 0) # scroll back to top after initial events
+
def OnChildFocus(self, evt):
# If the child window that gets the focus is not visible,
def OnChildFocus(self, evt):
# If the child window that gets the focus is not visible,