2 % automatically generated by HelpGen $Revision$ from
3 % controlbar.h at 21/Jan/02 21:14:13
7 \section{\class{cbBarDimHandlerBase
}}\label{cbbardimhandlerbase
}
10 Abstract interface for bar-size handler classes.
11 These objects receive notifications whenever the docking
12 state of the bar is changed, thus they provide the possibility
13 to adjust the values in cbDimInfo::mSizes accordingly.
14 Specific handlers can be hooked up to specific types of bar.
16 \wxheading{Derived from
}
18 \helpref{wxObject
}{wxobject
}
20 \wxheading{Include files
}
24 \wxheading{Data structures
}
26 \latexignore{\rtfignore{\wxheading{Members
}}}
29 \membersection{cbBarDimHandlerBase::cbBarDimHandlerBase
}\label{cbbardimhandlerbasecbbardimhandlerbase
}
31 \func{}{cbBarDimHandlerBase
}{\void}
33 to multiple bars, it's instance is
35 Default constructor. The initial reference count is
0, since
36 the handler is not used until the first invocation of AddRef().
39 \membersection{cbBarDimHandlerBase::AddRef
}\label{cbbardimhandlerbaseaddref
}
41 \func{void
}{AddRef
}{\void}
43 Increments the reference count.
46 \membersection{cbBarDimHandlerBase::OnChangeBarState
}\label{cbbardimhandlerbaseonchangebarstate
}
48 \func{void
}{OnChangeBarState
}{\param{cbBarInfo*
}{pBar
},
\param{int
}{newState
}}
50 Responds to "bar-state-changes" notifications.
53 \membersection{cbBarDimHandlerBase::OnResizeBar
}\label{cbbardimhandlerbaseonresizebar
}
55 \func{void
}{OnResizeBar
}{\param{cbBarInfo*
}{pBar
},
\param{const wxSize\&
}{given
},
\param{wxSize\&
}{preferred
}}
57 Responds to bar resize notifications.
60 \membersection{cbBarDimHandlerBase::RemoveRef
}\label{cbbardimhandlerbaseremoveref
}
62 \func{void
}{RemoveRef
}{\void}
64 Decrements the reference count, and if the count is at zero,