+
+ ~wxHelpProvider();
+
+
+ %disownarg( wxHelpProvider *helpProvider );
+ %newobject Set;
+ DocDeclStr(
+ static wxHelpProvider *, Set(wxHelpProvider *helpProvider),
+ "Sset the current, application-wide help provider. Returns the previous
+one. Unlike some other classes, the help provider is not created on
+demand. This must be explicitly done by the application.", "");
+ %cleardisown( wxHelpProvider *helpProvider );
+
+ DocDeclStr(
+ static wxHelpProvider *, Get(),
+ "Return the current application-wide help provider.", "");
+
+
+ DocDeclStr(
+ wxString , GetHelp(const wxWindow *window),
+ "Gets the help string for this window. Its interpretation is dependent
+on the help provider except that empty string always means that no
+help is associated with the window.", "");
+
+ DocDeclStr(
+ bool , ShowHelp(wxWindow *window),
+ "Shows help for the given window. Uses GetHelp internally if
+applicable. Returns True if it was done, or False if no help was
+available for this window.", "");
+
+ DocDeclStr(
+ virtual bool , ShowHelpAtPoint(wxWindowBase *window,
+ const wxPoint& pt,
+ wxHelpEvent::Origin origin),
+ "Show help for the given window (uses window.GetHelpAtPoint()
+internally if applicable), return true if it was done or false if no
+help available for this window.", "");
+
+
+
+ DocDeclStr(
+ void , AddHelp(wxWindow *window, const wxString& text),
+ "Associates the text with the given window.", "");
+
+ DocDeclStrName(
+ void , AddHelp(wxWindowID id, const wxString& text),
+ "This version associates the given text with all windows with this
+id. May be used to set the same help string for all Cancel buttons in
+the application, for example.", "",
+ AddHelpById);
+
+ DocDeclStr(
+ void , RemoveHelp(wxWindow* window),
+ "Removes the association between the window pointer and the help
+text. This is called by the wx.Window destructor. Without this, the
+table of help strings will fill up and when window pointers are
+reused, the wrong help string will be found.", "");
+
+
+ %pythonAppend Destroy "args[0].thisown = 0"