fix uninitialised values

This commit is contained in:
Jacek Jendrzej
2017-01-29 20:54:35 +01:00
parent bcf478ba67
commit f76dda36df
4 changed files with 5 additions and 1 deletions

View File

@@ -157,7 +157,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const
ccw_col_head = COL_MENUHEAD_PLUS_0;
ccw_col_head_text = COL_MENUHEAD_TEXT;
ccw_col_footer = COL_MENUFOOT_PLUS_0;
cc_parent = NULL;
page_scroll_mode = PG_SCROLL_M_OFF; //permanent disabled here, only in body used!
initCCWItems();

View File

@@ -50,6 +50,7 @@ CComponentsItem::CComponentsItem(CComponentsForm* parent)
cc_item_selected = false;
cc_page_number = 0;
cc_has_focus = true;
cc_parent = NULL;
initParent(parent);
}