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
This commit is contained in:
@@ -229,7 +229,7 @@ wxShowEffect wxInfoBarGeneric::GetHideEffect() const
|
||||
|
||||
void wxInfoBarGeneric::UpdateParent()
|
||||
{
|
||||
wxWindow * const parent = wxGetTopLevelParent(GetParent());
|
||||
wxWindow * const parent = GetParent();
|
||||
parent->Layout();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user