From b0162e327425f1231ed9f8d755e2e02f68c0b53b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 22 Nov 2011 07:41:17 +0000 Subject: [PATCH] fixes #13684 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/event.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/wx/event.h b/interface/wx/event.h index 3d73cbedd6..6262b8f363 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -3971,6 +3971,10 @@ public: size of the window, you may need to clear the DC explicitly and repaint the whole window. In which case, you may need to call wxWindow::Refresh to invalidate the entire window. + @b Important : Sizers ( see @ref overview_sizer ) rely on size events to function + correctly. Therefore, in a sizer-based layout, do not forget to call Skip on all + size events you catch (and don't catch size events at all when you don't need to). + @beginEventTable{wxSizeEvent} @event{EVT_SIZE(func)} Process a @c wxEVT_SIZE event. -- 2.45.2