// =====================================================================
// WIKI SYSTEM - modificari in: EterPythonLib/PythonWindowManagerModule.cpp
// wndMgr.SetRenderingRect accepta si RenderTarget.
// Fiecare bloc de mai jos are cateva linii de context (deasupra / dedesubt)
// ca sa gasesti locul. Liniile sunt numerotate dupa fisierul original din Valiant2.
// =====================================================================

// ---------- [1] liniile 2392-2395 (context 2389-2398) ----------
		((UI::CExpandedImageBox*)pWindow)->SetRenderingRect(fLeft, fTop, fRight, fBottom);
	else if (pWindow->IsType(UI::CAniImageBox::Type()))
		((UI::CAniImageBox*)pWindow)->SetRenderingRect(fLeft, fTop, fRight, fBottom);
#ifdef ENABLE_WIKI
	else if (pWindow->IsType(UI::CUiRenderTarget::Type()))
		((UI::CUiRenderTarget*)pWindow)->SetRenderingRect(fLeft, fTop, fRight, fBottom);
#endif

	return Py_BuildNone();
}
