Minor clarifation and typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,9 +13,9 @@
|
|||||||
The wxAny class represents a container for any type. Its value
|
The wxAny class represents a container for any type. Its value
|
||||||
can be changed at run time, possibly to a different type of value.
|
can be changed at run time, possibly to a different type of value.
|
||||||
|
|
||||||
wxAny is successor class for wxVariant, essentially doing the same thing
|
wxAny is a backwards incompatible successor class for wxVariant,
|
||||||
in a more modern, template-based manner and with transparent support
|
essentially doing the same thing in a more modern, template-based manner
|
||||||
for any user data type.
|
and with transparent support for any user data type.
|
||||||
|
|
||||||
Some pseudo-code'ish example of use with arbitrary user data:
|
Some pseudo-code'ish example of use with arbitrary user data:
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ public:
|
|||||||
Template function that retrieves and converts the value of this
|
Template function that retrieves and converts the value of this
|
||||||
wxAny to the type that T* value is.
|
wxAny to the type that T* value is.
|
||||||
|
|
||||||
@return Returns @true if conversion was succesfull.
|
@return Returns @true if conversion was successful.
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
bool GetAs(T* value) const;
|
bool GetAs(T* value) const;
|
||||||
|
Reference in New Issue
Block a user