2
% automatically generated by HelpGen $Revision: 1.3 $ from
3
% toolwnd.h at 21/Jan/02 21:14:17
7
\section{\class{cbMiniButton}}\label{cbminibutton}
10
cbMiniButton is the base class for a small button that can be placed in a wxToolWindow
13
\wxheading{Derived from}
15
\helpref{wxObject}{wxobject}
17
\wxheading{Include files}
21
\wxheading{Data structures}
23
\latexignore{\rtfignore{\wxheading{Members}}}
26
\membersection{cbMiniButton::cbMiniButton}\label{cbminibuttoncbminibutton}
28
\func{}{cbMiniButton}{\void}
33
\membersection{cbMiniButton::Draw}\label{cbminibuttondraw}
35
\func{void}{Draw}{\param{wxDC\& }{dc}}
37
Draws the button. Override this to implement
38
the desired appearance.
41
\membersection{cbMiniButton::Enable}\label{cbminibuttonenable}
43
\func{void}{Enable}{\param{bool }{enable}}
45
Enable or disable the button.
48
\membersection{cbMiniButton::HitTest}\label{cbminibuttonhittest}
50
\func{bool}{HitTest}{\param{const wxPoint\& }{pos}}
52
Returns TRUE if the given position was over the button.
55
\membersection{cbMiniButton::IsPressed}\label{cbminibuttonispressed}
57
\func{bool}{IsPressed}{\void}
59
Returns TRUE if this button is pressed.
62
\membersection{cbMiniButton::OnLeftDown}\label{cbminibuttononleftdown}
64
\func{void}{OnLeftDown}{\param{const wxPoint\& }{pos}}
66
Responds to a left down event.
69
\membersection{cbMiniButton::OnLeftUp}\label{cbminibuttononleftup}
71
\func{void}{OnLeftUp}{\param{const wxPoint\& }{pos}}
73
Responds to a left up event.
76
\membersection{cbMiniButton::OnMotion}\label{cbminibuttononmotion}
78
\func{void}{OnMotion}{\param{const wxPoint\& }{pos}}
80
Responds to a mouse move event.
83
\membersection{cbMiniButton::Refresh}\label{cbminibuttonrefresh}
85
\func{void}{Refresh}{\void}
90
\membersection{cbMiniButton::Reset}\label{cbminibuttonreset}
92
\func{void}{Reset}{\void}
97
\membersection{cbMiniButton::SetPos}\label{cbminibuttonsetpos}
99
\func{void}{SetPos}{\param{const wxPoint\& }{pos}}
101
Set the position of the button.
104
\membersection{cbMiniButton::WasClicked}\label{cbminibuttonwasclicked}
106
\func{bool}{WasClicked}{\void}
108
Returns TRUE if the button was clicked.