X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fdc16adf72fbd051d1f4ffdbc8d35d00b3e2837..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/bbutton.tex diff --git a/docs/latex/wx/bbutton.tex b/docs/latex/wx/bbutton.tex index dea75ce925..d67292592f 100644 --- a/docs/latex/wx/bbutton.tex +++ b/docs/latex/wx/bbutton.tex @@ -18,6 +18,10 @@ almost any other window. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Remarks} @@ -31,6 +35,7 @@ the selected state, unpressed focused state, and greyed-out state may be supplie This class supports bitmaps for several different states: \twocolwidtha{5cm} +\begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{normal}}{This is the bitmap shown in the default state, it must be always valid while all the other bitmaps are optional and don't have to be set.} @@ -40,7 +45,11 @@ to be set.} \twocolitem{\windowstyle{focus}}{Bitmap shown when the button has keyboard focus but is not pressed.} \twocolitem{\windowstyle{hover}}{Bitmap shown when the mouse is over the -button (but it is not pressed).} +button (but it is not pressed). Notice that if hover bitmap is not specified +but the current platform UI uses hover images for the buttons (such as Windows +XP or GTK+), then the focus bitmap is used for hover state as well. This makes +it possible to set focus bitmap only to get reasonably good behaviour on all +platforms.} \end{twocollist} @@ -214,9 +223,8 @@ A reference to the button's label bitmap. \membersection{wxBitmapButton::GetBitmapSelected}\label{wxbitmapbuttongetbitmapselected} \constfunc{wxBitmap\&}{GetBitmapSelected}{\void} -\func{wxBitmap\&}{GetBitmapSelected}{\void} -Returns the bitmap for the pushed button state, may be invalid. +Returns the bitmap for the selected state. \wxheading{Return value}