Generate wxWindowCreateEvent when creating windows in wxQt
Send the expected event at the very end of window creation process. Closes https://github.com/wxWidgets/wxWidgets/pull/1119
This commit is contained in:
committed by
Vadim Zeitlin
parent
61b2136bee
commit
34ecc6efc4
@@ -287,6 +287,9 @@ void wxWindowQt::PostCreation(bool generic)
|
||||
SetForegroundColour(wxColour(GetHandle()->palette().foreground().color()));
|
||||
|
||||
GetHandle()->setFont( wxWindowBase::GetFont().GetHandle() );
|
||||
|
||||
wxWindowCreateEvent event(this);
|
||||
HandleWindowEvent(event);
|
||||
}
|
||||
|
||||
void wxWindowQt::AddChild( wxWindowBase *child )
|
||||
|
Reference in New Issue
Block a user