X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/752b40b1dae58bab4577bf6e310110f2d61a8273..594f0f5bf1355fb8d58f403d3ebacc1c1767c429:/include/wx/defs.h?ds=sidebyside diff --git a/include/wx/defs.h b/include/wx/defs.h index fc70c28f67..7fbae0d9ed 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -61,6 +61,9 @@ #include "wx/setup.h" +// check the consistency of the settings in setup.h +#include "wx/chkconf.h" + // old C++ headers (like ) declare classes in the global namespace // while the new, standard ones (like ) do it in std:: namespace // @@ -967,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 */