enum {
wxHL_CONTEXTMENU,
- wxHL_DEFAULT_STYLE
+ wxHL_ALIGN_LEFT,
+ wxHL_ALIGN_RIGHT,
+ wxHL_ALIGN_CENTRE,
+ wxHL_DEFAULT_STYLE,
};
//---------------------------------------------------------------------------
%newgroup
-MustHaveApp(wxHyperlinkCtrl);
+MustHaveApp(wxHyperlinkCtrl);
DocStr( wxHyperlinkCtrl,
"A static text control that emulates a hyperlink. The link is displayed
%pythonAppend wxHyperlinkCtrl "self._setOORInfo(self)"
%pythonAppend wxHyperlinkCtrl() ""
-
+
// Constructor.
wxHyperlinkCtrl(wxWindow *parent,
wxWindowID id,
void SetVisited(bool visited = true);
bool GetVisited() const;
+ %property(HoverColour, GetHoverColour, SetHoverColour, doc="See `GetHoverColour` and `SetHoverColour`");
+ %property(NormalColour, GetNormalColour, SetNormalColour, doc="See `GetNormalColour` and `SetNormalColour`");
+ %property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
+ %property(Visited, GetVisited, SetVisited, doc="See `GetVisited` and `SetVisited`");
+ %property(VisitedColour, GetVisitedColour, SetVisitedColour, doc="See `GetVisitedColour` and `SetVisitedColour`");
};
// that the user clicked on.
wxString GetURL() const;
void SetURL(const wxString &url);
+
+ %property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
};