diff --git a/docs/latex/wx/stdbtnsz.tex b/docs/latex/wx/stdbtnsz.tex index 557dc543ff..cd804ce2de 100644 --- a/docs/latex/wx/stdbtnsz.tex +++ b/docs/latex/wx/stdbtnsz.tex @@ -40,6 +40,7 @@ Adds a button to the wxStdDialogButtonSizer. The button must have one of the fol \item wxID_NO \item wxID_CANCEL \item wxID_HELP + \item wxID_CONTEXT_HELP \end{itemize} \membersection{wxStdDialogButtonSizer::Finalise}\label{wxstddialogbuttonsizerfinalise} diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 27b781cf16..47a2fa90dc 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -1699,6 +1699,7 @@ void wxStdDialogButtonSizer::AddButton(wxButton *mybutton) m_buttonCancel = mybutton; break; case wxID_HELP: + case wxID_CONTEXT_HELP: m_buttonHelp = mybutton; break; default: