fix typo in an example (patch 1837973)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,15 +44,15 @@ cannot be declared outside the class, the shift left operators are used like thi
|
|||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
// in the header file
|
// in the header file
|
||||||
DECLARE_VARIANT_OBJECT(MyClass)
|
DECLARE_VARIANT_OBJECT(MyClass)
|
||||||
|
|
||||||
// in the implementation file
|
// in the implementation file
|
||||||
IMPLMENT_VARIANT_OBJECT(MyClass)
|
IMPLEMENT_VARIANT_OBJECT(MyClass)
|
||||||
|
|
||||||
// in the user code
|
// in the user code
|
||||||
wxVariant variant;
|
wxVariant variant;
|
||||||
MyClass value;
|
MyClass value;
|
||||||
variant << value;
|
variant << value;
|
||||||
|
|
||||||
// or
|
// or
|
||||||
value << variant;
|
value << variant;
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
Reference in New Issue
Block a user