X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65391c8ffcb388cd31f610776654f50aed97cbee..9d38429920c110bf8a5fb8d0a8c33e82e0adc56f:/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(); }