Send window create events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -764,6 +764,9 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
||||
SetShape(rgn);
|
||||
}
|
||||
#endif
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
|
||||
void wxTopLevelWindowMac::MacGetPortParams(WXPOINTPTR localOrigin, WXRECTPTR clipRect, WXHWND *window , wxWindowMac** rootwin)
|
||||
|
@@ -218,6 +218,10 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
|
||||
MacCreateScrollBars( style ) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@@ -764,6 +764,9 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
||||
SetShape(rgn);
|
||||
}
|
||||
#endif
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
|
||||
void wxTopLevelWindowMac::MacGetPortParams(WXPOINTPTR localOrigin, WXRECTPTR clipRect, WXHWND *window , wxWindowMac** rootwin)
|
||||
|
@@ -218,6 +218,10 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
|
||||
MacCreateScrollBars( style ) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user