X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c70014d966bbfa08d201ca24c825f2d88cc3975..1d3f4b50d6f529b068586f14de2c3d9bc92a9ac4:/docs/latex/wx/function.tex?ds=sidebyside diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index ad28eda84b..122ed0d49f 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -108,7 +108,7 @@ the corresponding topic. \helpref{wxGetElapsedTime}{wxgetelapsedtime}\\ \helpref{wxGetEmailAddress}{wxgetemailaddress}\\ \helpref{wxGetEnv}{wxgetenv}\\ -\helpref{wxGetFileType}{wxgetfiletype}\\ +\helpref{wxGetFileKind}{wxgetfilekind}\\ \helpref{wxGetFontFromUser}{wxgetfontfromuser}\\ \helpref{wxGetFreeMemory}{wxgetfreememory}\\ \helpref{wxGetFullHostName}{wxgetfullhostname}\\ @@ -247,6 +247,7 @@ the corresponding topic. \helpref{wxWriteResource}{wxwriteresource}\\ \helpref{wxYield}{wxyield}\\ \helpref{wx\_const\_cast}{wxconstcastraw}\\ +\helpref{wx\_dynamic\_cast}{wxdynamiccastraw}\\ \helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw}\\ \helpref{wx\_static\_cast}{wxstaticcastraw}\\ \helpref{\_}{underscore}\\ @@ -1016,21 +1017,21 @@ Mac OS and generic Unix provided the system has {\tt statfs()} function. This function first appeared in wxWidgets 2.3.2. -\membersection{::wxGetFileType}\label{wxgetfiletype} +\membersection{::wxGetFileKind}\label{wxgetfilekind} -\func{wxFileTypeEnum}{wxGetFileType}{\param{int }{fd}} +\func{wxFileKind}{wxGetFileKind}{\param{int }{fd}} -\func{wxFileTypeEnum}{wxGetFileType}{\param{FILE *}{fp}} +\func{wxFileKind}{wxGetFileKind}{\param{FILE *}{fp}} Returns the type of an open file. Possible return values are: \begin{verbatim} -enum wxFileTypeEnum +enum wxFileKind { - wxFILE_TYPE_UNKNOWN, - wxFILE_TYPE_DISK, // a file supporting seeking to arbitrary offsets - wxFILE_TYPE_TERMINAL, // a tty - wxFILE_TYPE_PIPE // a pipe + wxFILE_KIND_UNKNOWN, + wxFILE_KIND_DISK, // a file supporting seeking to arbitrary offsets + wxFILE_KIND_TERMINAL, // a tty + wxFILE_KIND_PIPE // a pipe }; \end{verbatim} @@ -3500,7 +3501,8 @@ Example: \helpref{RTTI overview}{runtimeclassoverview}\\ \helpref{wxDynamicCastThis}{wxdynamiccastthis}\\ \helpref{wxConstCast}{wxconstcast}\\ -\helpref{wxStatiicCast}{wxstaticcast} +\helpref{wxStaticCast}{wxstaticcast}\\ +\helpref{wx\_dynamic\_cast}{wxdynamiccastraw} \membersection{wxDynamicCastThis}\label{wxdynamiccastthis} @@ -3543,6 +3545,23 @@ arguments is the same as for the standard cast. \wxheading{See also} +\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\ +\helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw},\\ +\helpref{wx\_static\_cast}{wxstaticcastraw} + + +\membersection{wx\_dynamic\_cast}\label{wxdynamiccastraw} + +\func{T}{wx\_dynamic\_cast}{T, x} + +Same as \texttt{dynamic\_cast(x)} if the compiler supports dynamic cast or +\texttt{(T)x} for old compilers. Unlike \helpref{wxDynamicCast}{wxdynamiccast}, +the cast it to the type \arg{T} and not to \texttt{T *} and also the order of +arguments is the same as for the standard cast. + +\wxheading{See also} + +\helpref{wx\_const\_cast}{wxconstcastraw},\\ \helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw},\\ \helpref{wx\_static\_cast}{wxstaticcastraw} @@ -3557,6 +3576,7 @@ Same as \texttt{reinterpret\_cast(x)} if the compiler supports reinterpret ca \wxheading{See also} \helpref{wx\_const\_cast}{wxconstcastraw},\\ +\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\ \helpref{wx\_static\_cast}{wxstaticcastraw} @@ -3573,6 +3593,7 @@ star is not appended to it. \wxheading{See also} \helpref{wx\_const\_cast}{wxconstcastraw},\\ +\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\ \helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw}