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; }