Mention possible problem with wxProgressDialog created in OnInit()

Such dialogs must be destroyed before the main event loop starts running
to avoid problems with the temporary event loop created by the dialog
internally.

See #17983.
This commit is contained in:
Arrigo Marchiori
2017-11-03 17:45:53 +01:00
committed by Vadim Zeitlin
parent 80ca6661d4
commit 23b7973c24

View File

@@ -49,6 +49,9 @@
}
}
@endcode
Note that this becomes even more important if the dialog is instantiated
during the program initialization, e.g. from wxApp::OnInit(): the dialog
must be destroyed before the main event loop is started in this case.
@beginStyleTable
@style{wxPD_APP_MODAL}