+ virtual wxIconBundle CreateIconBundle(const wxArtID& id,
+ const wxArtClient& client)
+ {
+ wxIconBundle rval = wxNullIconBundle;
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
+ if ((wxPyCBH_findCallback(m_myInst, "CreateIconBundle"))) {
+ PyObject* ro;
+ wxIconBundle* ptr;
+ PyObject* s1, *s2;
+ s1 = wx2PyString(id);
+ s2 = wx2PyString(client);
+ ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OO)", s1, s2));
+ Py_DECREF(s1);
+ Py_DECREF(s2);
+ if (ro) {
+ if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxIconBundle")))
+ rval = *ptr;
+ Py_DECREF(ro);
+ }
+ }
+ wxPyEndBlockThreads(blocked);
+ return rval;
+ }
+