WXTYPE __type
Data member used for storing dynamic type information. Most wxWindows classes set this member to an appropriate type, which may be overridden in derived classes. Optionally set this in your constructor. The type may be checked using ::wxSubType.
Note the double underscore prefixing this name, in order to minimize clashes with application code. There is no accessor function for this member, and its scope is public.
See also wxTypeTree.