adjusted indentation with astyle; added Id keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
/**
|
||||
@class wxHyperlinkEvent
|
||||
@wxheader{hyperlink.h}
|
||||
|
||||
|
||||
This event class is used for the events generated by
|
||||
wxHyperlinkCtrl.
|
||||
|
||||
|
||||
@library{wxadv}
|
||||
@category{FIXME}
|
||||
*/
|
||||
@@ -40,7 +40,7 @@ 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
|
||||
clicks on the hyperlink, a wxHyperlinkEvent is
|
||||
@@ -48,10 +48,10 @@ public:
|
||||
wxEvent::Skip), then a call to
|
||||
wxLaunchDefaultBrowser is done with the
|
||||
hyperlink's URL.
|
||||
|
||||
|
||||
Note that standard wxWindow functions like wxWindow::SetBackgroundColour,
|
||||
wxWindow::SetFont, wxWindow::SetCursor, wxWindow::SetLabel can be used to customize appearance of the hyperlink.
|
||||
|
||||
|
||||
@beginStyleTable
|
||||
@style{wxHL_ALIGN_LEFT}:
|
||||
Align the text to the left.
|
||||
@@ -68,11 +68,11 @@ public:
|
||||
The default style for wxHyperlinkCtrl:
|
||||
wxBORDER_NONE|wxHL_CONTEXTMENU|wxHL_ALIGN_CENTRE.
|
||||
@endStyleTable
|
||||
|
||||
|
||||
@library{wxadv}
|
||||
@category{ctrl}
|
||||
@appearance{hyperlinkctrl.png}
|
||||
|
||||
|
||||
@seealso
|
||||
wxURL, wxHyperlinkEvent
|
||||
*/
|
||||
@@ -82,32 +82,32 @@ public:
|
||||
/**
|
||||
Creates the hyperlink control.
|
||||
|
||||
@param parent
|
||||
@param parent
|
||||
Parent window. Must not be @NULL.
|
||||
|
||||
@param id
|
||||
@param id
|
||||
Window identifier. A value of wxID_ANY indicates a default value.
|
||||
|
||||
@param label
|
||||
@param label
|
||||
The label of the hyperlink.
|
||||
|
||||
@param url
|
||||
@param url
|
||||
The URL associated with the given label.
|
||||
|
||||
@param pos
|
||||
@param pos
|
||||
Window position.
|
||||
|
||||
@param size
|
||||
@param size
|
||||
Window size. If the wxDefaultSize is specified then the window is sized
|
||||
appropriately.
|
||||
|
||||
@param style
|
||||
@param style
|
||||
Window style. See wxHyperlinkCtrl.
|
||||
|
||||
@param validator
|
||||
@param validator
|
||||
Window validator.
|
||||
|
||||
@param name
|
||||
@param name
|
||||
Window name.
|
||||
*/
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
@@ -183,11 +183,11 @@ 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,
|
||||
const wxString& name = "hyperlink");
|
||||
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");
|
||||
};
|
||||
|
Reference in New Issue
Block a user