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:
parent
4e760a36f0
commit
7e4a196e34
@ -220,7 +220,7 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
|
||||
#endif
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
GetEventHandler()->AddPendingEvent(event);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -220,7 +220,7 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
|
||||
#endif
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
GetEventHandler()->AddPendingEvent(event);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user