X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38d3607bb57783c968caa357b0a194fa4676d34..34c07b8b63651e46aabb7809c25d95dd40736687:/docs/latex/wx/button.tex

diff --git a/docs/latex/wx/button.tex b/docs/latex/wx/button.tex
index afd59c4731..dabfe69091 100644
--- a/docs/latex/wx/button.tex
+++ b/docs/latex/wx/button.tex
@@ -134,7 +134,7 @@ Under Windows, only dialog box buttons respond to this function.  As
 normal under Windows and Motif, pressing return causes the default button to
 be depressed when the return key is pressed. See also \helpref{wxWindow::SetFocus}{wxwindowsetfocus}\rtfsp
 which sets the keyboard focus for windows and text panel items,\rtfsp
-and \helpref{wxPanel::SetDefaultItem}{wxpanelsetdefaultitem}.
+and \helpref{wxTopLevelWindow::SetDefaultItem}{wxtoplevelwindowsetdefaultitem}.
 
 Note that under Motif, calling this function immediately after
 creation of a button and before the creation of other buttons