X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ccf05663316e28d964c7d76dc5defe774b59427..3e0e38957893a11c9bfc2c334a696c73a9eaf39d:/interface/wx/dialog.h diff --git a/interface/wx/dialog.h b/interface/wx/dialog.h index 702595a34c..e057bc30ed 100644 --- a/interface/wx/dialog.h +++ b/interface/wx/dialog.h @@ -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} @@ -170,8 +180,11 @@ public: const wxString& name = wxDialogNameStr); /** - Destructor. Deletes any child windows before deleting the physical - window. + Destructor. + + Deletes any child windows before deleting the physical window. + + See @ref overview_windowdeletion for more info. */ virtual ~wxDialog();