From f0bae4ba05e643442abe2a233fdbd7e895e70b64 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 3 Mar 2010 07:17:18 +0000 Subject: [PATCH] Layout the immediate parent of the info bar as described in the docs, not the top-level parent. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/infobar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/infobar.cpp b/src/generic/infobar.cpp index 242242c174..76001a4a17 100644 --- a/src/generic/infobar.cpp +++ b/src/generic/infobar.cpp @@ -229,7 +229,7 @@ wxShowEffect wxInfoBarGeneric::GetHideEffect() const void wxInfoBarGeneric::UpdateParent() { - wxWindow * const parent = wxGetTopLevelParent(GetParent()); + wxWindow * const parent = GetParent(); parent->Layout(); } -- 2.45.2