components: remove initVarHeader calls in classes derived from CComponentsHeader

This commit is contained in:
[CST] Focus
2013-11-27 19:07:51 +04:00
parent 062b10be2a
commit 90c76a2985
2 changed files with 2 additions and 5 deletions

View File

@@ -113,6 +113,8 @@ class CComponentsIconForm : public CComponentsForm
class CComponentsHeader : public CComponentsForm class CComponentsHeader : public CComponentsForm
{ {
private:
void initVarHeader();
protected: protected:
CComponentsPicture * cch_icon_obj; CComponentsPicture * cch_icon_obj;
CComponentsText * cch_text_obj; CComponentsText * cch_text_obj;
@@ -132,8 +134,6 @@ class CComponentsHeader : public CComponentsForm
void initDefaultButtons(); void initDefaultButtons();
void initButtonFormSize(); void initButtonFormSize();
void initVarHeader();
public: public:
enum enum
{ {

View File

@@ -65,9 +65,6 @@ CComponentsFooter::CComponentsFooter( const int x_pos, const int y_pos, const in
void CComponentsFooter::initVarFooter() void CComponentsFooter::initVarFooter()
{ {
//CComponentsHeader
initVarHeader();
cc_item_type = CC_ITEMTYPE_FOOTER; cc_item_type = CC_ITEMTYPE_FOOTER;
corner_rad = RADIUS_LARGE; corner_rad = RADIUS_LARGE;
corner_type = CORNER_BOTTOM; corner_type = CORNER_BOTTOM;