]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/stockitems.tex
Applied ref-couting patch.
[wxWidgets.git] / docs / latex / wx / stockitems.tex
index e912beaa42ee07a8e7cdf0055ae9aaa2e5e32b50..6257e7df34719d32caccac8f338267e8541bd82d 100644 (file)
@@ -1,56 +1,67 @@
 \section{Stock items}\label{stockitems}
 
 \section{Stock items}\label{stockitems}
 
-Stock item IDs for use in \helpref{wxButton constructor}{wxbuttonconstr}:
+Window IDs for which stock buttons and menu items are created
+(see \helpref{wxButton constructor}{wxbuttonctor} and 
+\helpref{wxMenuItem constructor}{wxmenuitemctor}):
 
 \begin{twocollist}\itemsep=0pt
 
 \begin{twocollist}\itemsep=0pt
-\twocolitem{wxSTOCK\_ADD}{"Add"}
-\twocolitem{wxSTOCK\_APPLY}{"\&Apply"}
-\twocolitem{wxSTOCK\_BOLD}{"\&Bold"}
-\twocolitem{wxSTOCK\_CANCEL}{"\&Cancel"}
-\twocolitem{wxSTOCK\_CLEAR}{"\&Clear"}
-\twocolitem{wxSTOCK\_CLOSE}{"\&Close"}
-\twocolitem{wxSTOCK\_COPY}{"\&Copy"}
-\twocolitem{wxSTOCK\_CUT}{"Cu\&t"}
-\twocolitem{wxSTOCK\_DELETE}{"\&Delete"}
-\twocolitem{wxSTOCK\_FIND}{"\&Find"}
-\twocolitem{wxSTOCK\_FIND\_AND\_REPLACE}{"Find and rep\&lace"}
-\twocolitem{wxSTOCK\_GO\_BACK}{"\&Back"}
-\twocolitem{wxSTOCK\_GO\_DOWN}{"\&Down"}
-\twocolitem{wxSTOCK\_GO\_FORWARD}{"\&Forward"}
-\twocolitem{wxSTOCK\_GO\_UP}{"\&Up"}
-\twocolitem{wxSTOCK\_HELP}{"\&Help"}
-\twocolitem{wxSTOCK\_HOME}{"\&Home"}
-\twocolitem{wxSTOCK\_INDENT}{"Indent"}
-\twocolitem{wxSTOCK\_INDEX}{"\&Index"}
-\twocolitem{wxSTOCK\_ITALIC}{"\&Italic"}
-\twocolitem{wxSTOCK\_JUSTIFY\_CENTER}{"Centered"}
-\twocolitem{wxSTOCK\_JUSTIFY\_FILL}{"Justified"}
-\twocolitem{wxSTOCK\_JUSTIFY\_LEFT}{"Align Left"}
-\twocolitem{wxSTOCK\_JUSTIFY\_RIGHT}{"Align Right"}
-\twocolitem{wxSTOCK\_NEW}{"\&New"}
-\twocolitem{wxSTOCK\_NO}{"\&No"}
-\twocolitem{wxSTOCK\_OK}{"\&OK"}
-\twocolitem{wxSTOCK\_OPEN}{"\&Open"}
-\twocolitem{wxSTOCK\_PASTE}{"\&Paste"}
-\twocolitem{wxSTOCK\_PREFERENCES}{"\&Preferences"}
-\twocolitem{wxSTOCK\_PRINT}{"\&Print"}
-\twocolitem{wxSTOCK\_PRINT\_PREVIEW}{"Print previe\&w"}
-\twocolitem{wxSTOCK\_PROPERTIES}{"\&Properties"}
-\twocolitem{wxSTOCK\_QUIT}{"\&Quit"}
-\twocolitem{wxSTOCK\_REDO}{"\&Redo"}
-\twocolitem{wxSTOCK\_REFRESH}{"Refresh"}
-\twocolitem{wxSTOCK\_REMOVE}{"Remove"}
-\twocolitem{wxSTOCK\_REVERT\_TO\_SAVED}{"Revert to Saved"}
-\twocolitem{wxSTOCK\_SAVE}{"\&Save"}
-\twocolitem{wxSTOCK\_SAVE\_AS}{"Save \&As..."}
-\twocolitem{wxSTOCK\_STOP}{"\&Stop"}
-\twocolitem{wxSTOCK\_UNDELETE}{"Undelete"}
-\twocolitem{wxSTOCK\_UNDERLINE}{"\&Underline"}
-\twocolitem{wxSTOCK\_UNDO}{"\&Undo"}
-\twocolitem{wxSTOCK\_UNINDENT}{"\&Unindent"}
-\twocolitem{wxSTOCK\_YES}{"\&Yes"}
-\twocolitem{wxSTOCK\_ZOOM\_100}{"\&Actual Size"}
-\twocolitem{wxSTOCK\_ZOOM\_FIT}{"Zoom to \&Fit"}
-\twocolitem{wxSTOCK\_ZOOM\_IN}{"Zoom \&In"}
-\twocolitem{wxSTOCK\_ZOOM\_OUT}{"Zoom \&Out"}
-\end{twocollist}\itemsep=0pt
+\twocolitem{{\bf Stock ID}}{{\bf Stock label}}
+\twocolitem{wxID\_ABOUT}{"\&About"}
+\twocolitem{wxID\_ADD}{"Add"}
+\twocolitem{wxID\_APPLY}{"\&Apply"}
+\twocolitem{wxID\_BOLD}{"\&Bold"}
+\twocolitem{wxID\_CANCEL}{"\&Cancel"}
+\twocolitem{wxID\_CLEAR}{"\&Clear"}
+\twocolitem{wxID\_CLOSE}{"\&Close"}
+\twocolitem{wxID\_COPY}{"\&Copy"}
+\twocolitem{wxID\_CUT}{"Cu\&t"}
+\twocolitem{wxID\_DELETE}{"\&Delete"}
+\twocolitem{wxID\_EDIT}{"\&Edit"}
+\twocolitem{wxID\_FIND}{"\&Find"}
+\twocolitem{wxID\_FILE}{"\&File"}
+\twocolitem{wxID\_REPLACE}{"Find and rep\&lace"}
+\twocolitem{wxID\_BACKWARD}{"\&Back"}
+\twocolitem{wxID\_DOWN}{"\&Down"}
+\twocolitem{wxID\_FORWARD}{"\&Forward"}
+\twocolitem{wxID\_UP}{"\&Up"}
+\twocolitem{wxID\_HELP}{"\&Help"}
+\twocolitem{wxID\_HOME}{"\&Home"}
+\twocolitem{wxID\_INDENT}{"Indent"}
+\twocolitem{wxID\_INDEX}{"\&Index"}
+\twocolitem{wxID\_ITALIC}{"\&Italic"}
+\twocolitem{wxID\_JUSTIFY\_CENTER}{"Centered"}
+\twocolitem{wxID\_JUSTIFY\_FILL}{"Justified"}
+\twocolitem{wxID\_JUSTIFY\_LEFT}{"Align Left"}
+\twocolitem{wxID\_JUSTIFY\_RIGHT}{"Align Right"}
+\twocolitem{wxID\_NEW}{"\&New"}
+\twocolitem{wxID\_NO}{"\&No"}
+\twocolitem{wxID\_OK}{"\&OK"}
+\twocolitem{wxID\_OPEN}{"\&Open"}
+\twocolitem{wxID\_PASTE}{"\&Paste"}
+\twocolitem{wxID\_PREFERENCES}{"\&Preferences"}
+\twocolitem{wxID\_PRINT}{"\&Print"}
+\twocolitem{wxID\_PREVIEW}{"Print previe\&w"}
+\twocolitem{wxID\_PROPERTIES}{"\&Properties"}
+\twocolitem{wxID\_EXIT}{"\&Quit"}
+\twocolitem{wxID\_REDO}{"\&Redo"}
+\twocolitem{wxID\_REFRESH}{"Refresh"}
+\twocolitem{wxID\_REMOVE}{"Remove"}
+\twocolitem{wxID\_REVERT\_TO\_SAVED}{"Revert to Saved"}
+\twocolitem{wxID\_SAVE}{"\&Save"}
+\twocolitem{wxID\_SAVEAS}{"Save \&As..."}
+\twocolitem{wxID\_SELECTALL}{"Select all"}
+\twocolitem{wxID\_STOP}{"\&Stop"}
+\twocolitem{wxID\_UNDELETE}{"Undelete"}
+\twocolitem{wxID\_UNDERLINE}{"\&Underline"}
+\twocolitem{wxID\_UNDO}{"\&Undo"}
+\twocolitem{wxID\_UNINDENT}{"\&Unindent"}
+\twocolitem{wxID\_YES}{"\&Yes"}
+\twocolitem{wxID\_ZOOM\_100}{"\&Actual Size"}
+\twocolitem{wxID\_ZOOM\_FIT}{"Zoom to \&Fit"}
+\twocolitem{wxID\_ZOOM\_IN}{"Zoom \&In"}
+\twocolitem{wxID\_ZOOM\_OUT}{"Zoom \&Out"}
+\end{twocollist}
+
+
+Note that some of the IDs listed above have also a stock accelerator
+and an help string associated.