X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a05fd8d137bbe26acd4f86adf6d62c55424822c..43f06cfda107a4a74776b58dca3353a4414ecfb1:/docs/latex/wx/autoobj.tex?ds=sidebyside diff --git a/docs/latex/wx/autoobj.tex b/docs/latex/wx/autoobj.tex index bfb0d2e6d3..8afc07a8d9 100644 --- a/docs/latex/wx/autoobj.tex +++ b/docs/latex/wx/autoobj.tex @@ -12,11 +12,11 @@ gets the current Excel instance, and if it exists, makes the active cell bold. \begin{verbatim} wxAutomationObject excelObject; if (excelObject.GetInstance("Excel.Application")) - excelObject.PutProperty("ActiveCell.Font.Bold", TRUE); + excelObject.PutProperty("ActiveCell.Font.Bold", true); \end{verbatim} } -Note that this class works under Windows only, and currently only for Visual C++. +Note that this class obviously works under Windows only. \wxheading{Derived from} @@ -78,8 +78,8 @@ needing to call GetProperty several times using several temporary objects. For e \constfunc{bool}{CreateInstance}{\param{const wxString\&}{ classId}} -Creates a new object based on the class id, returning TRUE if the object was successfully created, -or FALSE if not. +Creates a new object based on the class id, returning true if the object was successfully created, +or false if not. \membersection{wxAutomationObject::GetDispatchPtr}\label{wxautomationobjectgetdispatchptr} @@ -92,7 +92,7 @@ Gets the IDispatch pointer. \constfunc{bool}{GetInstance}{\param{const wxString\&}{ classId}} Retrieves the current object associated with a class id, and attaches the IDispatch pointer -to this object. Returns TRUE if a pointer was succesfully retrieved, FALSE otherwise. +to this object. Returns true if a pointer was successfully retrieved, false otherwise. Note that this cannot cope with two instances of a given OLE object being active simultaneously, such as two copies of Excel running. Which object is referenced cannot currently be specified. @@ -162,7 +162,7 @@ DISPATCH\_METHOD.} \wxheading{Return value} -TRUE if the operation was successful, FALSE otherwise. +true if the operation was successful, false otherwise. \wxheading{Remarks}