diff --git a/modules/gfx/pymod/export_surface.cc b/modules/gfx/pymod/export_surface.cc index b6031a6163504f0a02aaa23c6fa30bb7f19196eb..b954a414a26173a211f3a275e8ea83990efe279e 100644 --- a/modules/gfx/pymod/export_surface.cc +++ b/modules/gfx/pymod/export_surface.cc @@ -121,6 +121,8 @@ void export_Surface() .def("SetColor", set_color2) .def("CleanColorOps", &Surface::CleanColorOps) .def("ReapplyColorOps", &Surface::ReapplyColorOps) + .def("GetHandle", &Surface::GetHandle) + .add_property("handle", &Surface::GetHandle) ; }