git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50299
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\begin{verbatim}
// in the header file
DECLARE_VARIANT_OBJECT(MyClass)
\begin{verbatim}
// in the header file
DECLARE_VARIANT_OBJECT(MyClass)
// in the implementation file
// in the implementation file
- IMPLMENT_VARIANT_OBJECT(MyClass)
-
+ IMPLEMENT_VARIANT_OBJECT(MyClass)
+
// in the user code
wxVariant variant;
MyClass value;
variant << value;
// in the user code
wxVariant variant;
MyClass value;
variant << value;
// or
value << variant;
\end{verbatim}
// or
value << variant;
\end{verbatim}