X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb48ed2caa9f72cb266ad08b908e983392fb095e..594f0f5bf1355fb8d58f403d3ebacc1c1767c429:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 1438ff0cf9..7fbae0d9ed 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -970,6 +970,13 @@ enum wxBorder // descend into all subwindows #define wxWS_EX_VALIDATE_RECURSIVELY 0x00000001 +// wxCommandEvents and the objects of the derived classes are forwarded to the +// parent window and so on recursively by default. Using this flag for the +// given window allows to block this propagation at this window, i.e. prevent +// the events from being propagated further upwards. The dialogs have this +// flag on by default. +#define wxWS_EX_BLOCK_EVENTS 0x00000002 + /* * wxFrame/wxDialog style flags */