//----------------------------------------------------------------------
-enum {
- wxFRAME_EX_CONTEXTHELP,
- wxDIALOG_EX_CONTEXTHELP,
-};
%constant wxEventType wxEVT_HELP;
%constant wxEventType wxEVT_DETAILED_HELP;
void , SetOrigin(Origin origin),
"", "");
+ %property(Link, GetLink, SetLink, doc="See `GetLink` and `SetLink`");
+ %property(Origin, GetOrigin, SetOrigin, doc="See `GetOrigin` and `SetOrigin`");
+ %property(Position, GetPosition, SetPosition, doc="See `GetPosition` and `SetPosition`");
+ %property(Target, GetTarget, SetTarget, doc="See `GetTarget` and `SetTarget`");
};
//---------------------------------------------------------------------------
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.
* 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`
reused, the wrong help string will be found.", "");
- %pythonAppend Destroy "args[0].thisown = 0"
+ %pythonPrepend Destroy "args[0].this.own(False)"
%extend { void Destroy() { delete self; } }
};