X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65391c8ffcb388cd31f610776654f50aed97cbee..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/generic/infobar.cpp 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(); }