Doc corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-12-24 12:29:43 +00:00
parent 2c15c98b33
commit 5ab2950dc3
3 changed files with 25 additions and 2 deletions

View File

@ -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}

View File

@ -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}

View File

@ -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}}