EterPythonLib

1. PythonWindowManagerModule.cpp

Search:

	void initwndMgr()

Add above:

	#ifdef ENABLE_ITEMSHOP
	PyObject* wndImageResetFrame(PyObject* poSelf, PyObject* poArgs)
	{
		UI::CWindow* pWindow;
		if (!PyTuple_GetWindow(poArgs, 0, &pWindow))
			return Py_BuildException();

		((UI::CAniImageBox*)pWindow)->ResetFrame();

		return Py_BuildNone();
	}
	#endif

Search:

	void initwndMgr()
	{
		static PyMethodDef s_methods[] =
		{

Add:

	#ifdef ENABLE_ITEMSHOP
			{ "ResetFrame",					wndImageResetFrame,					METH_VARARGS },
	#endif