X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3051a44a73502c2b03d1618d0a8e94274ee67e16..b74399b98243cf446cc867410754c8d7d9ff60a2:/interface/wx/dialog.h?ds=sidebyside diff --git a/interface/wx/dialog.h b/interface/wx/dialog.h index 07f15907c4..4cf131dd17 100644 --- a/interface/wx/dialog.h +++ b/interface/wx/dialog.h @@ -583,6 +583,11 @@ public: modeless dialog modal. However ShowModal() can't be called twice without intervening EndModal() calls. + Note that this function creates a temporary event loop which takes + precedence over the application's main event loop (see wxEventLoopBase) + and which is destroyed when the dialog is dismissed. + This also results in a call to wxApp::ProcessPendingEvents(). + @return The value set with SetReturnCode(). @see EndModal(), GetReturnCode(), SetReturnCode()