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}
|
||||
// in the header file
|
||||
DECLARE_VARIANT_OBJECT(MyClass)
|
||||
|
||||
|
||||
// in the implementation file
|
||||
IMPLMENT_VARIANT_OBJECT(MyClass)
|
||||
|
||||
IMPLEMENT_VARIANT_OBJECT(MyClass)
|
||||
|
||||
// in the user code
|
||||
wxVariant variant;
|
||||
MyClass value;
|
||||
variant << value;
|
||||
|
||||
|
||||
// or
|
||||
value << variant;
|
||||
\end{verbatim}
|
||||
|
Reference in New Issue
Block a user