X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a35327028051bf75882b4f4cd6fcaf351c7b892b..1d1972fce1db0ae559433967255ce486b0d7494a:/wxPython/src/_cshelp.i diff --git a/wxPython/src/_cshelp.i b/wxPython/src/_cshelp.i index f9f0bae2dd..9db181dfde 100644 --- a/wxPython/src/_cshelp.i +++ b/wxPython/src/_cshelp.i @@ -20,10 +20,6 @@ //---------------------------------------------------------------------- -enum { - wxFRAME_EX_CONTEXTHELP, - wxDIALOG_EX_CONTEXTHELP, -}; %constant wxEventType wxEVT_HELP; %constant wxEventType wxEVT_DETAILED_HELP; @@ -137,7 +133,7 @@ help. 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, and Windows will put the application into context-sensitive help 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 to create a context help object. Normally you will write your 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). :see: `wx.ContextHelpButton`