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);