From 7e4a196e34ea16231f4dae3bf2c7ee0d324565a4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 5 Feb 2004 00:25:36 +0000 Subject: [PATCH] Don't send the wxWindowCreateEvent immediately git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 2 +- src/mac/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 8357a177d2..d462f005b9 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -220,7 +220,7 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id, #endif wxWindowCreateEvent event(this); - GetEventHandler()->ProcessEvent(event); + GetEventHandler()->AddPendingEvent(event); return TRUE; } diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 8357a177d2..d462f005b9 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -220,7 +220,7 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id, #endif wxWindowCreateEvent event(this); - GetEventHandler()->ProcessEvent(event); + GetEventHandler()->AddPendingEvent(event); return TRUE; }