X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cc1457dd570693966d6dff845ff1a0296bfbc65..dc484d491b15355285a89da275c58c2ef247d1f4:/docs/latex/wx/hyperlink.tex diff --git a/docs/latex/wx/hyperlink.tex b/docs/latex/wx/hyperlink.tex index 4c0c8df4a5..40a47aaf51 100644 --- a/docs/latex/wx/hyperlink.tex +++ b/docs/latex/wx/hyperlink.tex @@ -39,8 +39,11 @@ Note that standard \helpref{wxWindow}{wxwindow} functions like \helpref{SetBackg \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt +\twocolitem{\windowstyle{wxHL\_ALIGN\_LEFT}}{Align the text to the left.} +\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}.} +\twocolitem{\windowstyle{wxHL\_DEFAULT\_STYLE}}{The default style for wxHyperlinkCtrl: \texttt{wxNO\_BORDER|wxHL\_CONTEXTMENU|wxHL\_ALIGN\_CENTRE}.} \end{twocollist} See also \helpref{window styles overview}{windowstyles}. @@ -226,3 +229,4 @@ Returns the URL of the hyperlink where the user has just clicked. \func{void}{SetURL}{\param{const wxString \&}{ url}} Sets the URL associated with the event. +