prototype fixes (in particular fix missing default value initializers)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-25 12:22:08 +00:00
parent 83a8220a8e
commit a6052817bb
7 changed files with 156 additions and 145 deletions

View File

@@ -79,6 +79,17 @@ public:
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.
@@ -107,7 +118,7 @@ public:
const wxString& url,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style,
long style = wxHL_DEFAULT_STYLE,
const wxString& name = "hyperlink");
/**
@@ -132,7 +143,7 @@ public:
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
@@ -163,7 +174,7 @@ public:
/**
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
@@ -171,16 +182,5 @@ public:
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");
};