James Stone wrote:
> I think the discrepancy between reported y size in the frame designer could be
> due to the fact I have a menu bar on the frame. The auto resizing down to
> zero is quite irritating though.
I think I found the problem.
Some background info; Because wxWindows changes it's coordinate system
when controls like menubars, status bars and toolbars are connected to
a frame I need to disconnect these controls when the frame is
closed in order to read accurate coordinate info from other controls
when the source code is generated.
Some time ago I patched the code to not disconnect the menubar under
wxGTK (because it always caused a core dump). This caused the
incorrect frame size.
I just tested and it seems to be safe to disconnect the menubar
under the latest version of wxPython/wxGTK.
You can fix the code in your copy, in:
Companions.FrameCompanions.FrameDTC.updatePosAndSize, just replace
if wxPlatform != '__WXGTK__':
Thanks for the report!