]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/notebook.tex
wxWindowMSW now eats EVT_CHAR if the key was handled in EVT_KEY_DOWN
[wxWidgets.git] / docs / latex / wx / notebook.tex
index 0e7c925e66dd7df61dc989fe3b7c057c60d31b4a..dde3ca1a67ae0d2108ed8e543cb9f83865d3dd3f 100644 (file)
@@ -188,7 +188,13 @@ Returns the number of rows in the notebook control.
 
 \constfunc{int}{GetSelection}{\void}
 
-Returns the currently selected page, or -1 if none was selected.
+Returns the currently selected page, or $-1$ if none was selected.
+
+Note that this method may return either the previously or newly selected page
+when called from the {\tt EVT\_NOTEBOOK\_PAGE\_CHANGED} handler depending on
+the platform and so\rtfsp
+\helpref{wxNotebookEvent::GetSelection}{wxnotebookeventgetselection} should be
+used instead in this case.
 
 \membersection{wxNotebook::InsertPage}\label{wxnotebookinsertpage}