]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/control.tex
implemented EVT_LIST_CACHE_HINT support: send this message from OnPaint() now
[wxWidgets.git] / docs / latex / wx / control.tex
1 \section{\class{wxControl}}\label{wxcontrol}
2
3 This is the base class for a control or `widget'.
4
5 A control is generally a small window which processes user input and/or displays one or more item
6 of data.
7
8 \wxheading{Derived from}
9
10 \helpref{wxWindow}{wxwindow}\\
11 \helpref{wxEvtHandler}{wxevthandler}\\
12 \helpref{wxObject}{wxobject}
13
14 \wxheading{Include files}
15
16 <wx/control.h>
17
18 \wxheading{See also}
19
20 \helpref{wxValidator}{wxvalidator}
21
22 \latexignore{\rtfignore{\wxheading{Members}}}
23
24 \membersection{wxControl::Command}\label{wxcontrolcommand}
25
26 \func{void}{Command}{\param{wxCommandEvent\& }{event}}
27
28 Simulates the effect of the user issuing a command to the item. See \helpref{wxCommandEvent}{wxcommandevent}.
29
30 \membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
31
32 \func{wxString\&}{GetLabel}{\void}
33
34 Returns the control's text.
35
36 \membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
37
38 \func{void}{SetLabel}{\param{const wxString\& }{label}}
39
40 Sets the item's text.
41