+ void importData() const {
+ m_pData.get(m_pWidget.set);
+ }
+
+ void exportData() const {
+ m_pWidget.get(m_pData.set);
+ }
+};
+
+template<class Widget, class Self, class T, class native>
+struct AddDataCustom_Wrapper {
+ static void Export(const native &self, const Callback<void(T)> &returnz) {
+ native *p = &const_cast<native &>(self);
+ auto widget = Self::from(p);
+ Widget::Get::thunk_(widget, returnz);