]> git.saurik.com Git - wxWidgets.git/commitdiff
Layout the immediate parent of the info bar as described in the docs, not the top...
authorRobin Dunn <robin@alldunn.com>
Wed, 3 Mar 2010 07:17:18 +0000 (07:17 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 3 Mar 2010 07:17:18 +0000 (07:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/infobar.cpp

index 242242c1745baa5697a640bab60ffa309f0de07c..76001a4a17e9df3035c16c1a588e55ff348f2f00 100644 (file)
@@ -229,7 +229,7 @@ wxShowEffect wxInfoBarGeneric::GetHideEffect() const
 
 void wxInfoBarGeneric::UpdateParent()
 {
-    wxWindow * const parent = wxGetTopLevelParent(GetParent());
+    wxWindow * const parent = GetParent();
     parent->Layout();
 }