]> git.saurik.com Git - wxWidgets.git/commitdiff
moved wxNotebook events docs into a separate file included by both noteevt.tex and...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Nov 2001 16:53:08 +0000 (16:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Nov 2001 16:53:08 +0000 (16:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/notebook.tex
docs/latex/wx/noteevt.inc [new file with mode: 0644]
docs/latex/wx/noteevt.tex

index e25921c0c55d2b8df2e128d3359fbc2cb30d3b5a..0e7c925e66dd7df61dc989fe3b7c057c60d31b4a 100644 (file)
@@ -33,18 +33,7 @@ managed by wxNotebook.
 
 See also \helpref{window styles overview}{windowstyles}.
 
-
-\wxheading{Event handling}
-
-To process input from a notebook control, use the following event handler macros to direct input to member
-functions that take a \helpref{wxNotebookEvent}{wxnotebookevent} argument.
-
-\twocolwidtha{7cm}
-\begin{twocollist}\itemsep=0pt
-\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed.}
-\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
-This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.}
-\end{twocollist}%
+\input noteevt.inc
 
 \wxheading{See also}
 
diff --git a/docs/latex/wx/noteevt.inc b/docs/latex/wx/noteevt.inc
new file mode 100644 (file)
index 0000000..31f216c
--- /dev/null
@@ -0,0 +1,13 @@
+\wxheading{Event handling}
+
+To process input from a notebook control, use the following event handler macros to direct input to member
+functions that take a \helpref{wxNotebookEvent}{wxnotebookevent} argument.
+
+\twocolwidtha{7cm}
+\begin{twocollist}\itemsep=0pt
+\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a
+wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGED event.}
+\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
+Processes a wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.}
+\end{twocollist}%
+
index 92d84b60a76b9f9080bfa050db88b3b68aaa4804..e1c9e7d476478f6e9f553bcf67b1a3e9bcd21c54 100644 (file)
@@ -32,18 +32,7 @@ which is going to be selected if the handler doesn't call Veto().
 
 <wx/notebook.h>
 
-\wxheading{Event table macros}
-
-To process a notebook event, use these event handler macros to direct input to member
-functions that take a wxNotebookEvent argument.
-
-\twocolwidtha{7cm}
-\begin{twocollist}\itemsep=0pt
-\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a
-wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGED event.}
-\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
-Processes a wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.}
-\end{twocollist}%
+\input noteevt.inc
 
 \wxheading{See also}