diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 9105ec6798..a0f91b928c 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -2172,7 +2172,7 @@ supports {\it const\_cast} or into an old, C-style cast, otherwise. \wxheading{See also} \helpref{wxDynamicCast}{wxdynamiccast}\\ -\helpref{wxStatiicCast}{wxstaticcast} +\helpref{wxStaticCast}{wxstaticcast} \membersection{WXDEBUG\_NEW}\label{debugnew} @@ -2240,6 +2240,17 @@ avoid using {\tt \#ifdef}s when creating icons. +\membersection{wxStaticCast}\label{wxstaticcast} + +\func{}{wxStaticCast}{ptr, classname} + +This macro checks that the cast is valid in debug mode (an assert failure will +result if {\tt wxDynamicCast(ptr, classname) == NULL}) and then returns the +result of executing an equivalent of {\tt static\_cast(ptr)}. + +\helpref{wxDynamicCast}{wxdynamiccast}\\ +\helpref{wxConstCast}{wxconstcast} + \membersection{WXTRACE}\label{trace} \wxheading{Include files} @@ -2470,17 +2481,6 @@ is no connection between names used in resources, and the global bitmap data. Another name for \helpref{wxResourceRegisterBitmapData}{registerbitmapdata}. -\membersection{wxStaticCast}\label{wxstaticcast} - -\func{}{wxStaticCast}{ptr, classname} - -This macro checks that the cast is valid in debug mode (an assert failure will -result if {\tt wxDynamicCast(ptr, classname) == NULL}) and then returns the -result of executing an equivalent of {\tt static\_cast(ptr)}. - -\helpref{wxDynamicCast}{wxdynamiccast}\\ -\helpref{wxConstCast}{wxconstcast} - \section{Log functions}\label{logfunctions} These functions provide a variety of logging functions: see \helpref{Log classes overview}{wxlogoverview} for