//---------------------------------------------------------------------------- // ObjectWindows // (C) Copyright 1991, 1994 by Borland International, All Rights Reserved // // Implementation of class TControl. This defines the basic behavior // of all controls. //---------------------------------------------------------------------------- #include "och3dowl.h" TChart3D::TChart3D(TWindow* parent, int id, int x, int y, int w, int h, TModule* module) : TControl(parent, id, 0, x, y, w, h, module) { } TChart3D::TChart3D(TWindow* parent, int resourceId, TModule* module) : TControl(parent, resourceId, module) { } bool TChart3D::Create() { bool result(FALSE); if(TControl::Create()) { HChart = Xrt3dCreate(); if(HChart) { Xrt3dAttachWindow(HChart, HWindow); result = TRUE; } } return(result); }