From 3a3ef0bf61017bfa3761e40d1873b3c480f6f034 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 11 Jan 2002 00:01:54 +0000 Subject: [PATCH] changes wxFRAME_EX_CONTEXTHELP value to avoid clash with wxWS_EX_TRANSIENT git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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.