VScrolledWindow question

Is it possible that we could get rid of the ScrollToLine(0) call in SetLineCount? I can't understand why it's there, and it's making my life miserable. :wink: I tried rewriting the VScrolledWindow in python and that worked fine, until I realized that HtmlListbox would work better for my purposes, and there's no easy way that I can think of to fix this, except just patching my local wxWidgets, but I don't want to do that if I can help it, as I want to share my app. Thanks.

Scott wrote:

Is it possible that we could get rid of the ScrollToLine(0) call in SetLineCount? I can't understand why it's there, and it's making my life miserable. :wink: I tried rewriting the VScrolledWindow in python and that worked fine, until I realized that HtmlListbox would work better for my purposes, and there's no easy way that I can think of to fix this, except just patching my local wxWidgets, but I don't want to do that if I can help it, as I want to share my app. Thanks.

Please ask about this on the wx-dev list.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!