The wx.py.shell.Shell autocomplete drops off bottom of the screen in wx 3.0

The “wx.py.shell.Shell” has a popup auto-complete box that appears as you type. In wx 3.0 the popup always appears below the text. Thus if the window is at the bottom of the screen then most of the popup is off the screen.

In wx 2.8 tt popps “upwards” correctly when at the bottom of the screen.

Run the following code and move the window to the bottom of the screen. Then type “wx.” and observe the popup (image attached).

import wx.py.shell

app = wx.App()

frame = wx.Frame(None,title=“Example”)

shell = wx.py.shell.Shell(frame)

frame.SetSize((600,200))

frame.Show()

app.MainLoop()

pyshell.jpg