]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/docs/latex/fl/cbbardimhandlerbase.tex
added a hack to work around the dummy kill focus messages under GTK
[wxWidgets.git] / contrib / docs / latex / fl / cbbardimhandlerbase.tex
... / ...
CommitLineData
1%
2% automatically generated by HelpGen $Revision$ from
3% controlbar.h at 21/Jan/02 21:14:13
4%
5
6
7\section{\class{cbBarDimHandlerBase}}\label{cbbardimhandlerbase}
8
9
10Abstract interface for bar-size handler classes.
11These objects receive notifications whenever the docking
12state of the bar is changed, thus they provide the possibility
13to adjust the values in cbDimInfo::mSizes accordingly.
14Specific handlers can be hooked up to specific types of bar.
15
16\wxheading{Derived from}
17
18\helpref{wxObject}{wxobject}
19
20\wxheading{Include files}
21
22<controlbar.h>
23
24\wxheading{Data structures}
25
26\latexignore{\rtfignore{\wxheading{Members}}}
27
28
29\membersection{cbBarDimHandlerBase::cbBarDimHandlerBase}\label{cbbardimhandlerbasecbbardimhandlerbase}
30
31\func{}{cbBarDimHandlerBase}{\void}
32
33to multiple bars, it's instance is
34reference-counted
35Default constructor. The initial reference count is 0, since
36the handler is not used until the first invocation of AddRef().
37
38
39\membersection{cbBarDimHandlerBase::AddRef}\label{cbbardimhandlerbaseaddref}
40
41\func{void}{AddRef}{\void}
42
43Increments the reference count.
44
45
46\membersection{cbBarDimHandlerBase::OnChangeBarState}\label{cbbardimhandlerbaseonchangebarstate}
47
48\func{void}{OnChangeBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newState}}
49
50Responds to "bar-state-changes" notifications.
51
52
53\membersection{cbBarDimHandlerBase::OnResizeBar}\label{cbbardimhandlerbaseonresizebar}
54
55\func{void}{OnResizeBar}{\param{cbBarInfo* }{pBar}, \param{const wxSize\& }{given}, \param{wxSize\& }{preferred}}
56
57Responds to bar resize notifications.
58
59
60\membersection{cbBarDimHandlerBase::RemoveRef}\label{cbbardimhandlerbaseremoveref}
61
62\func{void}{RemoveRef}{\void}
63
64Decrements the reference count, and if the count is at zero,
65delete 'this'.
66