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:
Robin Dunn
2004-01-16 01:46:18 +00:00
parent 657dbfccd6
commit 3dfafdb9e6
4 changed files with 14 additions and 0 deletions

View File

@@ -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)

View File

@@ -218,6 +218,10 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
MacCreateScrollBars( style ) ;
}
#endif
wxWindowCreateEvent event(this);
GetEventHandler()->ProcessEvent(event);
return TRUE;
}

View File

@@ -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)

View File

@@ -218,6 +218,10 @@ bool wxWindowMac::Create(wxWindowMac *parent, wxWindowID id,
MacCreateScrollBars( style ) ;
}
#endif
wxWindowCreateEvent event(this);
GetEventHandler()->ProcessEvent(event);
return TRUE;
}