define typesafe wxVariantList (to be used by wxVariant instead of wxList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-10-13 11:57:48 +00:00
parent 3586d10f72
commit 7e6b478087
2 changed files with 7 additions and 0 deletions

View File

@ -104,6 +104,10 @@ private:
* wxVariant can store any kind of data, but has some basic types
* built in.
*/
class WXDLLIMPEXP_FWD_BASE wxVariant;
WX_DECLARE_LIST_WITH_DECL(wxVariant, wxVariantList, class WXDLLIMPEXP_BASE);
class WXDLLIMPEXP_BASE wxVariant: public wxObject
{

View File

@ -52,6 +52,9 @@ using namespace std ;
wxVariant WXDLLIMPEXP_BASE wxNullVariant;
#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxVariantList);
/*
* wxVariant
*/