Don't send the wxWindowCreateEvent immediately

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-02-05 00:25:36 +00:00
parent 4e760a36f0
commit 7e4a196e34
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
#endif
wxWindowCreateEvent event(this);
GetEventHandler()->ProcessEvent(event);
GetEventHandler()->AddPendingEvent(event);
return TRUE;
}

View File

@ -220,7 +220,7 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
#endif
wxWindowCreateEvent event(this);
GetEventHandler()->ProcessEvent(event);
GetEventHandler()->AddPendingEvent(event);
return TRUE;
}