From 1bf2a0bc134c58b73d5939edef13cc5a230d5de3 Mon Sep 17 00:00:00 2001 From: kollivier Date: Wed, 13 Sep 2017 16:17:48 -0700 Subject: [PATCH] After fixing AddChild in sized_controls, it appears to work with AGW's AUI now. --- wx/lib/agw/aui/framemanager.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/wx/lib/agw/aui/framemanager.py b/wx/lib/agw/aui/framemanager.py index 874a7fc5..feef93cd 100644 --- a/wx/lib/agw/aui/framemanager.py +++ b/wx/lib/agw/aui/framemanager.py @@ -98,7 +98,6 @@ __date__ = "31 March 2009" import wx # just for isinstance -import wx.lib.sized_controls as sc import time import warnings @@ -4470,8 +4469,6 @@ class AuiManager(wx.EvtHandler): if not managed_window: raise Exception("Specified managed window must be non-null. ") - if isinstance(managed_window, sc.SizedParent): - raise Exception("Do not use wx.lib.sized_control for managed window. ") self.UnInit()