X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/bbutton.tex diff --git a/docs/latex/wx/bbutton.tex b/docs/latex/wx/bbutton.tex index 14d993ffe5..3aed0a9138 100644 --- a/docs/latex/wx/bbutton.tex +++ b/docs/latex/wx/bbutton.tex @@ -18,7 +18,7 @@ almost any other window. \wxheading{Remarks} -A bitmap button can be supplied with a single bitmap, and wxWindows will draw +A bitmap button can be supplied with a single bitmap, and wxWidgets will draw all button states using this bitmap. If the application needs more control, additional bitmaps for the selected state, unpressed focused state, and greyed-out state may be supplied. @@ -36,6 +36,10 @@ provided bitmaps. WIN32 only.} \twocolitem{\windowstyle{wxBU\_BOTTOM}}{Aligns the bitmap label to the bottom of the button. WIN32 only.} \end{twocollist} +Note that \windowstyle{wxBU\_EXACTFIT} supported by +\helpref{wxButton}{wxbutton} is \emph{not} used by this class as bitmap buttons +don't have any minimal standard size by default. + See also \helpref{window styles overview}{windowstyles}. \wxheading{Event handling} @@ -52,7 +56,7 @@ when the button is clicked.} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxBitmapButton::wxBitmapButton}\label{wxbitmapbuttonconstr} +\membersection{wxBitmapButton::wxBitmapButton}\label{wxbitmapbuttonctor} \func{}{wxBitmapButton}{\void} @@ -91,7 +95,7 @@ appropriately for the bitmap.} \wxheading{Remarks} -The {\it bitmap} parameter is normally the only bitmap you need to provide, and wxWindows will +The {\it bitmap} parameter is normally the only bitmap you need to provide, and wxWidgets will draw the button correctly in its different states. If you want more control, call any of the functions \helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp \helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp @@ -103,7 +107,7 @@ Note that the bitmap passed is smaller than the actual button created. \helpref{wxBitmapButton::Create}{wxbitmapbuttoncreate}, \helpref{wxValidator}{wxvalidator} -\membersection{wxBitmapButton::\destruct{wxBitmapButton}} +\membersection{wxBitmapButton::\destruct{wxBitmapButton}}\label{wxbitmapbuttondtor} \func{}{\destruct{wxBitmapButton}}{\void} @@ -115,7 +119,7 @@ Destructor, destroying the button. \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}} -Button creation function for two-step creation. For more details, see \helpref{wxBitmapButton::wxBitmapButton}{wxbitmapbuttonconstr}. +Button creation function for two-step creation. For more details, see \helpref{wxBitmapButton::wxBitmapButton}{wxbitmapbuttonctor}. \membersection{wxBitmapButton::GetBitmapDisabled}\label{wxbitmapbuttongetbitmapdisabled}