X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/914f51576275c0f5411db2eed52099c71a7489a3..c36cdfc084f779b67668af8cad3eb6906182af21:/docs/latex/wx/hyperlink.tex diff --git a/docs/latex/wx/hyperlink.tex b/docs/latex/wx/hyperlink.tex index 0b252abfa0..d765e3bd10 100644 --- a/docs/latex/wx/hyperlink.tex +++ b/docs/latex/wx/hyperlink.tex @@ -34,6 +34,10 @@ Note that standard \helpref{wxWindow}{wxwindow} functions like \helpref{SetBackg +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + \wxheading{Window styles} @@ -43,7 +47,7 @@ Note that standard \helpref{wxWindow}{wxwindow} functions like \helpref{SetBackg \twocolitem{\windowstyle{wxHL\_ALIGN\_RIGHT}}{Align the text to the right.} \twocolitem{\windowstyle{wxHL\_ALIGN\_CENTRE}}{Center the text (horizontally).} \twocolitem{\windowstyle{wxHL\_CONTEXTMENU}}{Pop up a context menu when the hyperlink is right-clicked. The context menu contains a \texttt{``Copy URL"} menu item which is automatically handled by the hyperlink and which just copies in the clipboard the URL (not the label) of the control.} -\twocolitem{\windowstyle{wxHL\_DEFAULT\_STYLE}}{The default style for wxHyperlinkCtrl: \texttt{wxNO\_BORDER|wxHL\_CONTEXTMENU|wxHL\_ALIGN\_CENTRE}.} +\twocolitem{\windowstyle{wxHL\_DEFAULT\_STYLE}}{The default style for wxHyperlinkCtrl: \texttt{wxBORDER\_NONE|wxHL\_CONTEXTMENU|wxHL\_ALIGN\_CENTRE}.} \end{twocollist} See also \helpref{window styles overview}{windowstyles}. @@ -68,7 +72,7 @@ direct input to member functions that take a \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxHyperlinkCtrl::wxHyperLink}\label{wxhyperlinkctrlctor} +\membersection{wxHyperlinkCtrl::wxHyperLinkCtrl}\label{wxhyperlinkctrlctor} \func{}{wxHyperLink}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id}, \param{const wxString \&}{ label}, \param{const wxString \&}{ url}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style}, \param{const wxString\& }{name = ``hyperlink"}} @@ -196,6 +200,10 @@ This event class is used for the events generated by +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + \wxheading{Event handling} To process input from a wxHyperlinkCtrl, use one of these event handler macros to @@ -210,22 +218,23 @@ direct input to member function that take a \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxHyperlinkEvent::wxHyperlinkEvent}\label{wxhyperlinkctrlctor} +\membersection{wxHyperlinkEvent::wxHyperlinkEvent}\label{wxhyperlinkeventctor} \func{}{wxHyperlinkEvent}{\param{wxObject *}{ generator}, \param{int}{ id}, \param{const wxString \&}{ url}} The constructor is not normally used by the user code. -\membersection{wxHyperlinkEvent::GetURL}\label{wxhyperlinkctrlgeturl} +\membersection{wxHyperlinkEvent::GetURL}\label{wxhyperlinkeventgeturl} \constfunc{wxString}{GetURL}{\void} Returns the URL of the hyperlink where the user has just clicked. -\membersection{wxHyperlinkEvent::SetURL}\label{wxhyperlinkctrlseturl} +\membersection{wxHyperlinkEvent::SetURL}\label{wxhyperlinkeventseturl} \func{void}{SetURL}{\param{const wxString \&}{ url}} Sets the URL associated with the event. +