From ee3df7bffcfcacbd489ec90cf18c7e21ac680bed Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Wed, 11 Dec 2019 10:47:45 -0700 Subject: [PATCH] forgot to add the registration of the Bitmap type --- src/ep_upiwin.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ep_upiwin.c b/src/ep_upiwin.c index 9878d3c..a8e33e9 100644 --- a/src/ep_upiwin.c +++ b/src/ep_upiwin.c @@ -81,6 +81,12 @@ PyObject *Epython_init_upiwin_module(void) return NULL; } + if (FAILED(Epython_register_bitmap(module))) + { + Py_DECREF(module); + return NULL; + } + if (FAILED(Epython_register_devctxt(module))) { Py_DECREF(module);