fixing c++11 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
29a1e53086
commit
9ff00b8f57
@ -124,7 +124,7 @@ wxObject* wxVariantOfPtrToObjectConverter##name ( const wxAny &data ) \
|
|||||||
_DEFAULT_CONSTRUCTOR(name) \
|
_DEFAULT_CONSTRUCTOR(name) \
|
||||||
_DEFAULT_CONVERTERS(name) \
|
_DEFAULT_CONVERTERS(name) \
|
||||||
void wxVariantToObjectConverter##name ( const wxAny &data, wxObjectFunctor* fn ) \
|
void wxVariantToObjectConverter##name ( const wxAny &data, wxObjectFunctor* fn ) \
|
||||||
{ (*fn)( &wxANY_AS(data, name) ); } \
|
{ name o = wxANY_AS(data, name); (*fn)( &o ); } \
|
||||||
\
|
\
|
||||||
const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo,NULL }; \
|
const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo,NULL }; \
|
||||||
wxClassInfo name::ms_classInfo(name::ms_classParents, wxT(unit), \
|
wxClassInfo name::ms_classInfo(name::ms_classParents, wxT(unit), \
|
||||||
|
Loading…
Reference in New Issue
Block a user