From 0531b19965840ca573cd858b3bf4085f059d2c40 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sat, 28 Apr 2012 22:24:34 +0000
Subject: [PATCH] Document the change in wxEVT_SIZE generation for wxDialogs in
 wxMSW.

These events are now generated earlier and can result in crashes if the
controls they use are not initialized yet.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/changes.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/changes.txt b/docs/changes.txt
index dd51162adf..0cb1b1aea2 100644
--- a/docs/changes.txt
+++ b/docs/changes.txt
@@ -133,6 +133,10 @@ Changes in behaviour not resulting in compilation errors, please read this!
   or equivalent function should now be done into wxApp::OnEventLoopEnter().
   See wxApp::OnEventLoopEnter() and wxApp::OnEventLoopExit() docs for more info.
 
+- wxDialogs get wxEVT_SIZE events immediately after creation in wxMSW, as with
+  wxFrames. This means that this event handler may be called earlier than in
+  2.8, check that all the controls are initialized before using them in it.
+
 - wxLoadFileSelector() now allows the user to select existing files only.
 
 - Erase background events are now not generated at all when background style is
-- 
2.47.2