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
@@ -59,10 +59,13 @@ bool wxDialog::Create( wxWindow *parent, wxWindowID id,
|
||||
style |= wxTAB_TRAVERSAL;
|
||||
|
||||
m_qtWindow = new wxQtDialog( parent, this );
|
||||
|
||||
|
||||
if ( !wxTopLevelWindow::Create( parent, id, title, pos, size, style, name ) )
|
||||
return false;
|
||||
|
||||
PostCreation();
|
||||
|
||||
return wxTopLevelWindow::Create( parent, id, title, pos, size, style, name );
|
||||
return true;
|
||||
}
|
||||
|
||||
int wxDialog::ShowModal()
|
||||
|
||||
Reference in New Issue
Block a user