X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaaa6a06a25774c18d10bb8182cc1934ed0ed9aa..eb17eaba370e68c2c59f29e4e20de979bf4655f2:/docs/latex/wx/bbutton.tex diff --git a/docs/latex/wx/bbutton.tex b/docs/latex/wx/bbutton.tex index b3d1f92141..4aa48eeba7 100644 --- a/docs/latex/wx/bbutton.tex +++ b/docs/latex/wx/bbutton.tex @@ -12,6 +12,10 @@ almost any other window. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Remarks} A bitmap button can be supplied with a single bitmap, and wxWindows will draw @@ -30,6 +34,14 @@ provided bitmaps.} See also \helpref{window styles overview}{windowstyles}. +\wxheading{Event handling} + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED event, +when the button is clicked.} +\end{twocollist} + \wxheading{See also} \helpref{wxButton}{wxbutton} @@ -42,9 +54,15 @@ See also \helpref{window styles overview}{windowstyles}. Default constructor. -\func{}{wxBitmapButton}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxBitmap\& }{bitmap},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxBU\_AUTODRAW}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}} +\func{}{wxBitmapButton}{ +\param{wxWindow* }{parent}, +\param{wxWindowID }{id}, +\param{const wxBitmap\& }{bitmap},\rtfsp +\param{const wxPoint\& }{pos = wxDefaultPosition}, +\param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{long }{style = wxBU\_AUTODRAW}, +\param{const wxValidator\& }{validator = wxDefaultValidator}, +\param{const wxString\& }{name = ``button"}} Constructor, creating and showing a button.