CBuildInfo: remove destructor

CBuildInfo using already inherited destructor from CComponentsForm.
This commit is contained in:
2014-01-07 09:42:54 +01:00
parent ed7a2fd625
commit a6c2518017
2 changed files with 2 additions and 7 deletions

View File

@@ -55,11 +55,6 @@ void CBuildInfo::initVarBuildInfo()
shadow = true;
}
CBuildInfo::~CBuildInfo()
{
cleanCCForm();
}
int CBuildInfo::exec(CMenuTarget* parent, const string & /*actionKey*/)
{
@@ -172,7 +167,7 @@ void CBuildInfo::InitInfoItems()
return;
//ensure a clean body
ccw_body->clearCCItems();
ccw_body->clear();
//define size and position
int x_info = 10;

View File

@@ -70,7 +70,7 @@ class CBuildInfo : public CMenuTarget, public CComponentsWindow
};
CBuildInfo();
~CBuildInfo();
///assigns text Font type
void setFontType(Font* font_text);
build_info_t getInfo(const info_type_id_t& type_id);