Fix wrong documentation of EVT_CLOSE for the dialogs

Clicking OK/Cancel buttons closes the dialog (by default), but doesn't
generate wxEVT_CLOSE event, so don't write that it does.

Closes #18743.
This commit is contained in:
Dummy
2020-04-28 18:52:49 +02:00
committed by Vadim Zeitlin
parent 7a56a200bf
commit bbc88cedf1

View File

@@ -140,8 +140,7 @@ enum wxDialogLayoutAdaptationMode
The dialog is being closed by the user or programmatically (see wxWindow::Close). The dialog is being closed by the user or programmatically (see wxWindow::Close).
The user may generate this event clicking the close button The user may generate this event clicking the close button
(typically the 'X' on the top-right of the title bar) if it's present (typically the 'X' on the top-right of the title bar) if it's present
(see the @c wxCLOSE_BOX style) or by clicking a button with the (see the @c wxCLOSE_BOX style).
@c wxID_CANCEL or @c wxID_OK ids.
@event{EVT_INIT_DIALOG(func)} @event{EVT_INIT_DIALOG(func)}
Process a @c wxEVT_INIT_DIALOG event. See wxInitDialogEvent. Process a @c wxEVT_INIT_DIALOG event. See wxInitDialogEvent.
@endEventTable @endEventTable