X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..5ecd2ba500a9783b66f0d95e9ff8d98146e18c30:/interface/wx/hyperlink.h?ds=sidebyside diff --git a/interface/wx/hyperlink.h b/interface/wx/hyperlink.h index 5982f6d1ca..00582ab834 100644 --- a/interface/wx/hyperlink.h +++ b/interface/wx/hyperlink.h @@ -8,7 +8,6 @@ /** @class wxHyperlinkEvent - @wxheader{hyperlink.h} This event class is used for the events generated by wxHyperlinkCtrl. @@ -40,7 +39,6 @@ public: /** @class wxHyperlinkCtrl - @wxheader{hyperlink.h} This class shows a static text element which links to an URL. Appearance and behaviour is completely customizable. In fact, when the user @@ -125,19 +123,19 @@ public: Returns the colour used to print the label of the hyperlink when the mouse is over the control. */ - wxColour GetHoverColour() const; + virtual wxColour GetHoverColour() const; /** Returns the colour used to print the label when the link has never been clicked before (i.e. the link has not been @e visited) and the mouse is not over the control. */ - wxColour GetNormalColour() const; + virtual wxColour GetNormalColour() const; /** Returns the URL associated with the hyperlink. */ - wxString GetURL() const; + virtual wxString GetURL() const; /** Returns @true if the hyperlink has already been clicked by the user at least @@ -151,25 +149,25 @@ public: and the link has already been clicked before (i.e. the link has been @e visited). */ - wxColour GetVisitedColour() const; + virtual wxColour GetVisitedColour() const; /** Sets the colour used to print the label of the hyperlink when the mouse is over the control. */ - void SetHoverColour(const wxColour& colour); + virtual void SetHoverColour(const wxColour& colour); /** Sets the colour used to print the label when the link has never been clicked before (i.e. the link has not been @e visited) and the mouse is not over the control. */ - void SetNormalColour(const wxColour& colour); + virtual void SetNormalColour(const wxColour& colour); /** Sets the URL associated with the hyperlink. */ - void SetURL(const wxString& url); + virtual void SetURL(const wxString& url); /** Marks the hyperlink as visited (see wxHyperlinkCtrl::SetVisitedColour). @@ -181,6 +179,6 @@ public: and the link has already been clicked before (i.e. the link has been @e visited). */ - void SetVisitedColour(const wxColour& colour); + virtual void SetVisitedColour(const wxColour& colour); };