diff --git a/include/wx/defs.h b/include/wx/defs.h index 5ea5a2b782..0bf00a50dd 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -864,6 +864,11 @@ enum wxBorder // parent is destroyed before the child #define wxWS_EX_TRANSIENT 0x00000004 +// Use this style to add a context-sensitive help to the window (currently for +// Win32 only and it doesn't work if wxMINIMIZE_BOX or wxMAXIMIZE_BOX are used) +#define wxFRAME_EX_CONTEXTHELP 0x00000004 +#define wxDIALOG_EX_CONTEXTHELP 0x00000004 + /* * wxFrame/wxDialog style flags */ @@ -894,10 +899,6 @@ enum wxBorder // deprecated flag, don't use any more, defined for compatibility only #define wxFRAME_FLOAT_ON_PARENT 0 -// Context-sensitive help -#define wxFRAME_EX_CONTEXTHELP 0x00000004 -#define wxDIALOG_EX_CONTEXTHELP 0x00000004 - /* * MDI parent frame style flags * Can overlap with some of the above.