]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/sizeevt.tex
Added wxUSE_MENUS to setup0.h to make menu sample compile;
[wxWidgets.git] / docs / latex / wx / sizeevt.tex
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %% Name: sizeevt.tex
3 %% Purpose: wxSizeEvent and related event classes documentation
4 %% Author: wxWindows team
5 %% Modified by:
6 %% Created:
7 %% RCS-ID: $Id$
8 %% Copyright: (c) wxWindows team
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13 %% wxSizeEvent
14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
16 \section{\class{wxSizeEvent}}\label{wxsizeevent}
17
18 A size event holds information about size change events.
19
20 \wxheading{Derived from}
21
22 \helpref{wxEvent}{wxevent}\\
23 \helpref{wxObject}{wxobject}
24
25 \wxheading{Include files}
26
27 <wx/event.h>
28
29 \wxheading{Event table macros}
30
31 To process a size event, use this event handler macro to direct input to a member
32 function that takes a wxSizeEvent argument.
33
34 \twocolwidtha{7cm}
35 \begin{twocollist}\itemsep=0pt
36 \twocolitem{{\bf EVT\_SIZE(func)}}{Process a wxEVT\_SIZE event.}
37 \end{twocollist}%
38
39 \wxheading{See also}
40
41 \helpref{wxSize}{wxsize},\rtfsp
42 \helpref{Event handling overview}{eventhandlingoverview}
43
44 \latexignore{\rtfignore{\wxheading{Members}}}
45
46 \membersection{wxSizeEvent::wxSizeEvent}
47
48 \func{}{wxSizeEvent}{\param{const wxSize\& }{sz}, \param{int }{id = 0}}
49
50 Constructor.
51
52 \membersection{wxSizeEvent::GetSize}\label{wxsizeeventgetsize}
53
54 \constfunc{wxSize}{GetSize}{\void}
55
56 Returns the entire size of the window generating the size change event.
57