wxPyConstructObject with setThisOwn = true wont leak… right?
wxImage* pWxImage = new wxImage(wxSize(wholeImage.width, wholeImage.height));
..
PyObject* _wxobj = wxPyConstructObject(pWxImage, wxT("wxImage"), true);
if (_wxobj == nullptr)
throw PyNullObject();
return _wxobj;