- args[0].wxTEMPLATED_MEMBER_CALL(Get, T0),
- args[1].wxTEMPLATED_MEMBER_CALL(Get, T1),
- args[2].wxTEMPLATED_MEMBER_CALL(Get, T2),
- args[3].wxTEMPLATED_MEMBER_CALL(Get, T3),
- args[4].wxTEMPLATED_MEMBER_CALL(Get, T4),
- args[5].wxTEMPLATED_MEMBER_CALL(Get, T5),
- args[6].wxTEMPLATED_MEMBER_CALL(Get, T6),
- args[7].wxTEMPLATED_MEMBER_CALL(Get, T7)
+ (args[0]).As(static_cast<T0*>(NULL)),
+ (args[1]).As(static_cast<T1*>(NULL)),
+ (args[2]).As(static_cast<T2*>(NULL)),
+ (args[3]).As(static_cast<T3*>(NULL)),
+ (args[4]).As(static_cast<T4*>(NULL)),
+ (args[5]).As(static_cast<T5*>(NULL)),
+ (args[6]).As(static_cast<T6*>(NULL)),
+ (args[7]).As(static_cast<T7*>(NULL))