New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agw/ demo asserts #843

tianzhuqiao opened this Issue May 5, 2018 · 1 comment


2 participants

tianzhuqiao commented May 5, 2018

When run the awg/ demo, it asserts, which looks like the same issue mentioned in

Apply the similar patch in to wx/lib/agw/aui/ seems solve the issue.

Traceback (most recent call last):
File "agw/", line 3038, in OnButton1 = MainAUI(self, self.log)
File "agw/", line 3009, in MainAUI
frame = AuiFrame(parent, -1, "AUI Test Frame", size=(800, 600), log=log)
File "agw/", line 910, in init
File "agw/", line 1301, in BuildPanes
File "/home/tianzhu/temp/Phoenix/wx/lib/agw/aui/", line 4735, in AddPane
return self.AddPane1(window, arg1)
File "/home/tianzhu/temp/Phoenix/wx/lib/agw/aui/", line 4804, in AddPane1
File "/home/tianzhu/temp/Phoenix/wx/lib/agw/aui/", line 2511, in SetGripperVisible
File "/home/tianzhu/temp/Phoenix/wx/lib/agw/aui/", line 3082, in Realize
ctrl_sizer_item = vert_sizer.Add(item.window, 0, wx.EXPAND)
wx._core.wxAssertionError: C++ assertion ""!m_containingSizer"" failed at /home/tianzhu/temp/Phoenix/ext/wxWidgets/src/common/wincmn.cpp(2476) in SetContainingSizer(): Adding a window already in a sizer, detach it first!


This comment has been minimized.


RobinD42 commented May 17, 2018

Fixed by #859

@RobinD42 RobinD42 closed this May 17, 2018

4.0.2 automation moved this from To do to Done May 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment