Cannot create a fialog menu.
ERROR : None
An unexpected error occurred!
Exception type: <class 'nameerror'="">
Exception details: name 'frame' is not defined</class>
Application stack traceback:
File "/usr/lib/python3.6/site-packages/wxglade/common.py", line 217, in add_toplevel_object
widgetsrefs[event.GetId()]
File "/usr/lib/python3.6/site-packages/wxglade/widgets/dialog/dialog.py", line 96, in builder
frame.properties["style"].set("wxDEFAULT_DIALOG_STYLE")
Date and time: 2017-08-01T11:17:25.016799
Python version: 3.6.1
wxPython version: 4.0.0b1
wxWidgets platform: WXGTK
wxGlade version: not found
Language code: en_US
Encoding: UTF-8
Filesystem encoding: utf-8
I 'fixed' it via:
--- lib/python3.6/site-packages/wxglade/widgets/dialog/dialog.py.old 2017-08-01 11:18:40.675392000 -0700
+++ lib/python3.6/site-packages/wxglade/widgets/dialog/dialog.py 2017-08-01 11:18:46.840802000 -0700
@@ -93,7 +93,7 @@
import panel
dialog = panel.EditTopLevelPanel(name, parent, wx.NewId(), klass=klass)
#dialog.properties["style"].set_to_default()
Thanks a lot.
I've applied the modification to commits 2ded869 and 0341b61 (branches default and GRIDBAG_SIZER)
Regards,
Dietmar