]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/notebook.tex
Some doc corrections; removed wxDocument arg from wxView constructor;
[wxWidgets.git] / docs / latex / wx / notebook.tex
index d8d9f8ab248b52c881f8811120639e446d55a101..a2a24c87392c4d2427998554888443f527d1bfc1 100644 (file)
@@ -15,6 +15,10 @@ managed by wxNotebook.
 \helpref{wxEvtHandler}{wxevthandler}\\
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/notebook.h>
+
 \wxheading{Event handling}
 
 To process input from a notebook control, use the following event handler macros to direct input to member
@@ -22,9 +26,9 @@ 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
+\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.
+\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
 Processes a wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGING event.}
 \end{twocollist}%
 
@@ -120,7 +124,7 @@ Deletes all pages.
 
 \func{bool}{DeletePage}{\param{int}{ page}}
 
-Deletes the specified page.
+Deletes the specified page, and the associated window.
 
 \membersection{wxNotebook::GetImageList}\label{wxnotebookgetimagelist}
 
@@ -211,6 +215,12 @@ An event handler function, called when the page selection is changed.
 
 \helpref{wxNotebookEvent}{wxnotebookevent}
 
+\membersection{wxNotebook::RemovePage}\label{wxnotebookremovepage}
+
+\func{bool}{RemovePage}{\param{int}{ page}}
+
+Deletes the specified page, without deleting the associated window.
+
 \membersection{wxNotebook::SetImageList}\label{wxnotebooksetimagelist}
 
 \func{void}{SetImageList}{\param{wxImageList*}{ imageList}}