Added typeinfo.h which implements wxTypeId, using C++ RTTI if available. wxAny and Unbind<>() code are updated to use it. Added and updated related unit tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-11-19 19:27:24 +00:00
parent c7193f2821
commit 7db064f60f
25 changed files with 323 additions and 81 deletions

View File

@@ -519,6 +519,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/tokenzr.h
wx/tracker.h
wx/txtstrm.h
wx/typeinfo.h
wx/types.h
wx/unichar.h
wx/uri.h

View File

@@ -1539,6 +1539,10 @@ SOURCE=..\..\include\wx\txtstrm.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\typeinfo.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\types.h
# End Source File
# Begin Source File

View File

@@ -1586,6 +1586,9 @@
<File
RelativePath="..\..\include\wx\txtstrm.h">
</File>
<File
RelativePath="..\..\include\wx\typeinfo.h">
</File>
<File
RelativePath="..\..\include\wx\types.h">
</File>

View File

@@ -2133,6 +2133,10 @@
RelativePath="..\..\include\wx\txtstrm.h"
>
</File>
<File
RelativePath="..\..\include\wx\typeinfo.h"
>
</File>
<File
RelativePath="..\..\include\wx\types.h"
>

View File

@@ -2129,6 +2129,10 @@
RelativePath="..\..\include\wx\txtstrm.h"
>
</File>
<File
RelativePath="..\..\include\wx\typeinfo.h"
>
</File>
<File
RelativePath="..\..\include\wx\types.h"
>