#ifndef _BoostPyTest_SliderCtrlPy_h_ #define _BoostPyTest_SliderCtrlPy_h_ #include using namespace boost::python; #include using namespace Upp; #include //A wrapped instance struct SliderCtrlPy { SliderCtrlPy(SliderCtrl& o) : o(o) {} void Set(const int& d) { o.SetData(d); } int Get() const { return o.GetData(); } SliderCtrl& o; }; //fw void export_UppCtrl(); void export_SliderCtrl(); //relys on Value export void export_ValueCtrl(); //relys on Value export #endif