add an event table for wxFrame and wxDialog: they send wxCloseEvents...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-11-23 23:53:45 +00:00
parent d76259e2fb
commit 9d157d5978
2 changed files with 20 additions and 5 deletions

View File

@@ -125,6 +125,16 @@ enum wxDialogLayoutAdaptationMode
managers recognizing the MHM hints should be running for any of these
styles to have an effect.
@beginEventTable{wxCloseEvent}
@event{EVT_CLOSE(func)}
The dialog is being closed by the user or programmatically (see wxWindow::Close).
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
(see the @c wxCLOSE_BOX style) or by clicking a button with the
@c wxID_CANCEL or @c wxID_OK ids.
@endEventTable
@library{wxcore}
@category{cmndlg}