From 5e091b2b01599d90ae53a16b18b5ba30e926659f Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 9 Feb 2005 16:22:25 +0000 Subject: [PATCH] Better markup to wxRegKey. Do not list generic renderer member in native renderer section. Do not link to wxStringList and wxApp::OnQueryEndSession because they are removed from docs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/closeevt.tex | 1 - docs/latex/wx/list.tex | 2 +- docs/latex/wx/regkey.tex | 55 ++++++++++++++++++++------------------ docs/latex/wx/renderer.tex | 2 +- 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/docs/latex/wx/closeevt.tex b/docs/latex/wx/closeevt.tex index cece933565..5e540e5afb 100644 --- a/docs/latex/wx/closeevt.tex +++ b/docs/latex/wx/closeevt.tex @@ -42,7 +42,6 @@ This event applies to wxApp only.} \wxheading{See also} \helpref{wxWindow::Close}{wxwindowclose},\rtfsp -\helpref{wxApp::OnQueryEndSession}{wxapponqueryendsession},\rtfsp %% GD: OnXXX functions are not documented %%\helpref{wxApp::OnEndSession}{wxapponendsession},\rtfsp \helpref{Window deletion overview}{windowdeletionoverview} diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index b6e9b6b463..1bce91d35e 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -130,7 +130,7 @@ members for getting to the next or previous node. \wxheading{See also} -\helpref{wxNode}{wxnode}, \helpref{wxStringList}{wxstringlist}, +\helpref{wxNode}{wxnode}, \helpref{wxArray}{wxarray} \latexignore{\rtfignore{\wxheading{Members}}} diff --git a/docs/latex/wx/regkey.tex b/docs/latex/wx/regkey.tex index 05ba6af0a3..b33097a358 100644 --- a/docs/latex/wx/regkey.tex +++ b/docs/latex/wx/regkey.tex @@ -17,27 +17,34 @@ One can Create, Query and Delete Registry Keys using this class. Windows Registry is easy to understand. There are 5 Registry Keys namely, -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf 1)}}{HKEY\_CLASSES\_ROOT (HKCR)} -\twocolitem{{\bf 2)}}{HKEY\_CURRENT\_USER (HKCU)} -\twocolitem{{\bf 3)}}{HKEY\_LOCAL\_MACHINE (HKLM)} -\twocolitem{{\bf 4)}}{HKEY\_CURRENT\_CONFIG (HKCC)} -\twocolitem{{\bf 5)}}{HKEY\_USERS (HKU)} -\end{twocollist} +\begin{enumerate}\itemsep=0pt +\item HKEY\_CLASSES\_ROOT (HKCR) +\item HKEY\_CURRENT\_USER (HKCU) +\item HKEY\_LOCAL\_MACHINE (HKLM) +\item HKEY\_CURRENT\_CONFIG (HKCC) +\item HKEY\_USERS (HKU) +\end{enumerate} After creating a Key , it can hold a Value. The Values can be , -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf 1)}}{String Value} -\twocolitem{{\bf 2)}}{Binary Value} -\twocolitem{{\bf 3)}}{DWORD Value} -\twocolitem{{\bf 4)}}{Multi String Value} -\twocolitem{{\bf 5)}}{Expandable String Value} -\end{twocollist} +\begin{enumerate}\itemsep=0pt +\item String Value +\item Binary Value +\item DWORD Value +\item Multi String Value +\item Expandable String Value +\end{enumerate} + +\wxheading{Derived from} + +None + +\wxheading{Include files} + + + +\wxheading{Example} -Example: \begin{verbatim} wxRegKey *pRegKey = new wxRegKey("HKEY_LOCAL_MACHINE\\Software\\MyKey"); @@ -67,13 +74,9 @@ for(int i=0;i +\latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxRegKey::wxRegKey}\label{wxregkeyregkey} +\membersection{wxRegKey::wxRegKey}\label{wxregkeyctor} \func{}{wxRegKey}{\void} @@ -97,7 +100,7 @@ Close the Key \membersection{wxRegKey::Create}\label{wxregkeycreate} -\func{bool}{Create}{\param{bool }{bOkIfExists = TRUE}} +\func{bool}{Create}{\param{bool }{bOkIfExists = true}} Create the Key,Will fail if the Key already exists and !bOkIfExists @@ -127,12 +130,12 @@ Deletes the named value \constfunc{static bool}{Exists}{\void} -Return True if the Key Exists +Return true if the Key Exists \membersection{wxRegKey::GetName}\label{wxregkeygetname} -\constfunc{wxString}{GetName}{\param{bool }{bShortPrefix = TRUE}} +\constfunc{wxString}{GetName}{\param{bool }{bShortPrefix = true}} Get the name of the Registry Key diff --git a/docs/latex/wx/renderer.tex b/docs/latex/wx/renderer.tex index 221f659425..4217e25c48 100644 --- a/docs/latex/wx/renderer.tex +++ b/docs/latex/wx/renderer.tex @@ -91,7 +91,7 @@ No base class Virtual destructor as for any base class. -\membersection{wxRendererGeneric::DrawComboBoxDropButton} +\membersection{wxRendererNative::DrawComboBoxDropButton}\label{wxrenderernativedrawcomboboxdropbutton} \func{void}{DrawComboBoxDropButton}{\param{wxWindow *}{win}, \param{wxDC\& }{dc}, \param{const wxRect\& }{rect}, \param{int }{flags}} -- 2.45.2