]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/moveevt.tex
added null pointer check and assert
[wxWidgets.git] / docs / latex / wx / moveevt.tex
CommitLineData
a660d684
KB
1\section{\class{wxMoveEvent}}\label{wxmoveevent}
2
3A move event holds information about move change events.
4
5\wxheading{Derived from}
6
7\helpref{wxEvent}{wxevent}\\
8\helpref{wxObject}{wxobject}
9
954b8ae6
JS
10\wxheading{Include files}
11
12<wx/event.h>
13
a7af285d
VZ
14\wxheading{Library}
15
16\helpref{wxCore}{librarieslist}
17
a660d684
KB
18\wxheading{Event table macros}
19
20To process a move event, use this event handler macro to direct input to a member
21function that takes a wxMoveEvent argument.
22
23\twocolwidtha{7cm}
24\begin{twocollist}\itemsep=0pt
25\twocolitem{{\bf EVT\_MOVE(func)}}{Process a wxEVT\_MOVE event, which is generated
26when a window is moved.}
aa767a45
JS
27\twocolitem{{\bf EVT\_MOVE\_START(func)}}{Process a wxEVT\_MOVE\_START event, which is generated
28when the user starts to move or size a window. wxMSW only.}
29\twocolitem{{\bf EVT\_MOVE\_END(func)}}{Process a wxEVT\_MOVE\_END event, which is generated
30when the user stops moving or sizing a window. wxMSW only.}
d2c2afc9 31\end{twocollist}
a660d684
KB
32
33\wxheading{See also}
34
f4fcc291 35\helpref{wxPoint}{wxpoint}, \helpref{Event handling overview}{eventhandlingoverview}
a660d684
KB
36
37\latexignore{\rtfignore{\wxheading{Members}}}
38
3e79fa75 39\membersection{wxMoveEvent::wxMoveEvent}\label{wxmoveeventctor}
a660d684
KB
40
41\func{}{wxMoveEvent}{\param{const wxPoint\& }{pt}, \param{int }{id = 0}}
42
43Constructor.
44
45\membersection{wxMoveEvent::GetPosition}\label{wxmoveeventgetposition}
46
47\constfunc{wxPoint}{GetPosition}{\void}
48
49Returns the position of the window generating the move change event.
50