From 0843fb45720e8a1aef8b51f3bd326e88c9f70da8 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Wed, 26 Oct 2011 17:46:40 -0600 Subject: [PATCH] Revirtualize BLayout::Relayout(), since it is in fact inherited from BLayoutItem and virtual anyway. Also add a comment to make this obvious. --- headers/os/interface/Layout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/os/interface/Layout.h b/headers/os/interface/Layout.h index 4e18633671..ee95d2ba6b 100644 --- a/headers/os/interface/Layout.h +++ b/headers/os/interface/Layout.h @@ -49,7 +49,8 @@ public: // Layouting related methods virtual void InvalidateLayout(bool children = false); - void Relayout(bool immediate = false); + virtual void Relayout(bool immediate = false); + // from BLayoutItem void RequireLayout(); bool IsValid(); void EnableLayoutInvalidation();