Add wxWS_EX_CONTEXTHELP, leaving wxFRAME_EX_CONTEXTHELP and
wxDIALOG_EX_CONTEXTHELP for compatibility. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,10 +20,6 @@
|
|||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
enum {
|
|
||||||
wxFRAME_EX_CONTEXTHELP,
|
|
||||||
wxDIALOG_EX_CONTEXTHELP,
|
|
||||||
};
|
|
||||||
%constant wxEventType wxEVT_HELP;
|
%constant wxEventType wxEVT_HELP;
|
||||||
%constant wxEventType wxEVT_DETAILED_HELP;
|
%constant wxEventType wxEVT_DETAILED_HELP;
|
||||||
|
|
||||||
@@ -137,7 +133,7 @@ help.
|
|||||||
|
|
||||||
There are a couple of ways to invoke this behaviour implicitly:
|
There are a couple of ways to invoke this behaviour implicitly:
|
||||||
|
|
||||||
* Use the wx.DIALOG_EX_CONTEXTHELP extended style for a dialog
|
* Use the wx.WS_EX_CONTEXTHELP extended style for a dialog or frame
|
||||||
(Windows only). This will put a question mark in the titlebar,
|
(Windows only). This will put a question mark in the titlebar,
|
||||||
and Windows will put the application into context-sensitive help
|
and Windows will put the application into context-sensitive help
|
||||||
mode automatically, with further programming.
|
mode automatically, with further programming.
|
||||||
@@ -145,7 +141,7 @@ There are a couple of ways to invoke this behaviour implicitly:
|
|||||||
* Create a `wx.ContextHelpButton`, whose predefined behaviour is
|
* Create a `wx.ContextHelpButton`, whose predefined behaviour is
|
||||||
to create a context help object. Normally you will write your
|
to create a context help object. Normally you will write your
|
||||||
application so that this button is only added to a dialog for
|
application so that this button is only added to a dialog for
|
||||||
non-Windows platforms (use ``wx.DIALOG_EX_CONTEXTHELP`` on
|
non-Windows platforms (use ``wx.WS_EX_CONTEXTHELP`` on
|
||||||
Windows).
|
Windows).
|
||||||
|
|
||||||
:see: `wx.ContextHelpButton`
|
:see: `wx.ContextHelpButton`
|
||||||
|
@@ -53,14 +53,19 @@ enum
|
|||||||
|
|
||||||
wxFRAME_EX_METAL,
|
wxFRAME_EX_METAL,
|
||||||
wxDIALOG_EX_METAL,
|
wxDIALOG_EX_METAL,
|
||||||
|
wxWS_EX_CONTEXTHELP,
|
||||||
|
|
||||||
// Obsolete
|
// Obsolete
|
||||||
wxDIALOG_MODAL,
|
wxDIALOG_MODAL,
|
||||||
wxDIALOG_MODELESS,
|
wxDIALOG_MODELESS,
|
||||||
wxUSER_COLOURS,
|
wxUSER_COLOURS,
|
||||||
wxNO_3D,
|
wxNO_3D,
|
||||||
|
|
||||||
|
wxFRAME_EX_CONTEXTHELP,
|
||||||
|
wxDIALOG_EX_CONTEXTHELP,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
wxFULLSCREEN_NOMENUBAR,
|
wxFULLSCREEN_NOMENUBAR,
|
||||||
|
Reference in New Issue
Block a user