From: Julian Smart Date: Fri, 24 Dec 2004 12:29:43 +0000 (+0000) Subject: Doc corrections X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5ab2950dc3c2823a545869fdda07219a9ce04b4f Doc corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/category.tex b/docs/latex/wx/category.tex index c1292adaa0..7f9dcbcab2 100644 --- a/docs/latex/wx/category.tex +++ b/docs/latex/wx/category.tex @@ -442,7 +442,7 @@ facilities. \twocolitem{\helpref{wxDataObject}{wxdataobject}}{Data object class} \twocolitem{\helpref{wxDataFormat}{wxdataformat}}{Represents a data format} \twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class} -\twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class} +\twocolitem{\helpref{wxFileDataObject}{wxfiledataobject}}{File data object class} \twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class} \twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class} \twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class} diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex index deef7473ff..ccffbd00cc 100644 --- a/docs/latex/wx/filename.tex +++ b/docs/latex/wx/filename.tex @@ -589,6 +589,23 @@ directory or file really exists, you should use \helpref{DirExists}{wxfilenamedirexists} or \helpref{FileExists}{wxfilenamefileexists} for this. +\membersection{wxFileName::MacFindDefaultTypeAndCreator}\label{wxfilenamemacfinddefaulttypeandcreator} + +\func{static bool}{MacFindDefaultTypeAndCreator}{\param{const wxString\& }{ext}, \param{wxUint32* }{type}, \param{wxUint32* }{creator}} + +On Mac OS, gets the common type and creator for the given extension. + +\membersection{wxFileName::MacRegisterDefaultTypeAndCreator}\label{wxfilenamemacregisterdefaulttypeandcreator} + +\func{static void}{MacRegisterDefaultTypeAndCreator}{\param{const wxString\& }{ext}, \param{wxUint32 }{type}, \param{wxUint32 }{creator}} + +On Mac OS, registers application defined extensions and their default type and creator. + +\membersection{wxFileName::MacSetDefaultTypeAndCreator}\label{wxfilenamemacsetdefaulttypeandcreator} + +\func{bool}{MacSetDefaultTypeAndCreator}{\void} + +On Mac OS, looks up the appropriate type and creator from the registration and then sets it. \membersection{wxFileName::MakeAbsolute}\label{wxfilenamemakeabsolute} diff --git a/docs/latex/wx/view.tex b/docs/latex/wx/view.tex index fc6c64b7a7..aaf4389f67 100644 --- a/docs/latex/wx/view.tex +++ b/docs/latex/wx/view.tex @@ -124,7 +124,7 @@ suitable title and sets the title of the view frame (if any). Implements closing behaviour. The default implementation calls wxDocument::Close to close the associated document. Does not delete the view. The application may wish to do some cleaning up operations in this function, {\it if} a -call to wxDocument::Close succeeded. For example, if your application's +call to wxDocument::Close succeeded. For example, if your views all share the same window, you need to disassociate the window from the view and perhaps clear the window. If {\it deleteWindow} is true, delete the frame associated with the view. @@ -162,6 +162,12 @@ and previews one page by calling wxView::OnDraw. Override to return an instance of a class other than wxDocPrintout. +\membersection{wxView::OnDraw}\label{onviewondraw} + +\func{virtual void}{OnDraw}{\param{wxDC\& }{dc}} + +Override this function to render the view on the given device context. + \membersection{wxView::OnUpdate}\label{onviewonupdate} \func{virtual void}{OnUpdate}{\param{wxView* }{sender}, \param{wxObject* }{hint}}