All:
-- wxURI::GetUser and wxURI::HasUser have been renamed to wxURI::GetUserInfo and wxURI::HasUserInfo respectively so that wxURI::GetUser returns the old username that were in the HTTP specification along with wxURI::GetPassword (Note that if you used wxURI::GetUser from 2.5.3 you should rename all instances of it to wxURI::GetUserInfo).
-- Added
+- wxURI::GetUser() only returns the user name now, use GetUserInfo() to get
+ user and password as in 2.5.4; wxURI::GetPassword() added
+- added wx_dynamic_cast() macro
All (GUI):
- Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original
GetBitmap is renamed GetBitmapPtr.
- Added XPM data constructor to wxImage.
-- Added style parameter to wxBufferedDC to allow buffering just
- the client, or the whole virtual area.
+- Added style parameter to wxBufferedDC to allow buffering just the client, or
+ the whole virtual area.
+
wxPalmOS:
\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}\\
\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}
\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<T>(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}
\wxheading{See also}
\helpref{wx\_const\_cast}{wxconstcastraw},\\
+\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\
\helpref{wx\_static\_cast}{wxstaticcastraw}
\wxheading{See also}
\helpref{wx\_const\_cast}{wxconstcastraw},\\
+\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\
\helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw}
#ifndef HAVE_STATIC_CAST
#define HAVE_STATIC_CAST
#endif
+ #ifndef HAVE_DYNAMIC_CAST
+ #define HAVE_DYNAMIC_CAST
+ #endif
#endif /* HAVE_CXX_CASTS */
#ifdef HAVE_STATIC_CAST
#define wx_static_cast(t, x) ((t)(x))
#endif
+#ifdef HAVE_DYNAMIC_CAST
+ #define wx_dynamic_cast(t, x) dynamic_cast<t>(x)
+#else
+ #define wx_dynamic_cast(t, x) ((t)(x))
+#endif
+
#ifdef HAVE_CONST_CAST
#define wx_const_cast(t, x) const_cast<t>(x)
#else