git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59255
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
modeless dialog modal. However ShowModal() can't be called twice
without intervening EndModal() calls.
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.
+
@return The value set with SetReturnCode().
@see EndModal(), GetReturnCode(), SetReturnCode()
@return The value set with SetReturnCode().
@see EndModal(), GetReturnCode(), SetReturnCode()
An object of this class is created by wxAppTraits::CreateEventLoop() and
used by wxApp to run the main application event loop.
An object of this class is created by wxAppTraits::CreateEventLoop() and
used by wxApp to run the main application event loop.
+ Temporary event loops are usually created by wxDialog::ShowModal().
You can create your own event loop if you need, provided that you restore
the main event loop once yours is destroyed (see wxEventLoopActivator).
You can create your own event loop if you need, provided that you restore
the main event loop once yours is destroyed (see wxEventLoopActivator).