From eaad096e7904341dca064fdbe63fff7f68d76ea3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 14 Jul 2008 02:04:28 +0000 Subject: [PATCH] relay out the control after deleting any page, not just the last one (#9684); also extract the size event sending code in a separate function to be able to replace it with something better easier later git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/listbook.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/listbook.h b/include/wx/listbook.h index c6a78fc706..f77b0ca690 100644 --- a/include/wx/listbook.h +++ b/include/wx/listbook.h @@ -112,6 +112,10 @@ private: // common part of all constructors void Init(); + // this should be called when we need to be relaid out + void UpdateSize(); + + DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS_NO_COPY(wxListbook) }; -- 2.45.2