1. wxTextCtrl::SetValue() moves the cursor to the end of text (as in GTK)
2. bug in wxThread::Delete() when the thread hadn't been staretd fixed 3. setting font for radiobox now works immediately (you had to invalidate the window manually, e.g. by covering it with another one, before) 4. added and documented wxConstCast() and wxStaticCast() 5. attempts to make wxFontEnumeraotr::EnumEncodings() work under MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2162,6 +2162,18 @@ avoid using {\tt \#ifdef}s when creating bitmaps.
|
||||
|
||||
<wx/gdicmn.h>
|
||||
|
||||
\membersection{wxConstCast}\label{wxconstcast}
|
||||
|
||||
\func{}{wxConstCast}{ptr, classname}
|
||||
|
||||
This macro expands into {\tt const\_cast<classname *>(ptr)} if the compiler
|
||||
supports {\it const\_cast} or into an old, C-style cast, otherwise.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxDynamicCast}{wxdynamiccast}\\
|
||||
\helpref{wxStatiicCast}{wxstaticcast}
|
||||
|
||||
\membersection{WXDEBUG\_NEW}\label{debugnew}
|
||||
|
||||
\func{}{WXDEBUG\_NEW}{arg}
|
||||
@@ -2207,7 +2219,9 @@ Example:
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{RTTI overview}{runtimeclassoverview}
|
||||
\helpref{RTTI overview}{runtimeclassoverview}\\
|
||||
\helpref{wxConstCast}{wxconstcast}\\
|
||||
\helpref{wxStatiicCast}{wxstaticcast}
|
||||
|
||||
\membersection{wxICON}\label{wxiconmacro}
|
||||
|
||||
@@ -2456,6 +2470,17 @@ 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<classname *>(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
|
||||
|
Reference in New Issue
Block a user