class wxHyperlinkCtrl : public wxControl
{
public:
+ /**
+ Constructor. See Create() for more info.
+ */
+ wxHyperLink(wxWindow* parent, wxWindowID id,
+ const wxString& label,
+ const wxString& url,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxHL_DEFAULT_STYLE,
+ const wxString& name = "hyperlink");
+
/**
Creates the hyperlink control.
const wxString& url,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style,
+ long style = wxHL_DEFAULT_STYLE,
const wxString& name = "hyperlink");
/**
Returns @true if the hyperlink has already been clicked by the user at least
one time.
*/
- bool GetVisited() const;
+ virtual bool GetVisited() const = 0;
/**
Returns the colour used to print the label when the mouse is not over the
/**
Marks the hyperlink as visited (see wxHyperlinkCtrl::SetVisitedColour).
*/
- void SetVisited(bool visited = true);
+ virtual void SetVisited(bool visited = true) = 0;
/**
Sets the colour used to print the label when the mouse is not over the control
visited).
*/
void SetVisitedColour(const wxColour& colour);
-
- /**
- Constructor. See Create() for more info.
- */
- wxHyperLink(wxWindow* parent, wxWindowID id,
- const wxString& label,
- const wxString& url,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style,
- const wxString& name = "hyperlink");
};