CComponentsWindow/Header: fix add of header buttons

setHeaderButtons was without effect
This commit is contained in:
2013-03-22 16:58:56 +01:00
parent 8196cf7671
commit cc31a41f43
3 changed files with 12 additions and 1 deletions

View File

@@ -221,6 +221,13 @@ void CComponentsHeader::initCCHDefaultButtons()
#endif
}
void CComponentsHeader::setHeaderDefaultButtons(const int buttons)
{
cch_buttons = buttons;
v_cch_btn.clear();
initCCHDefaultButtons();
}
// calculate minimal width of icon form
void CComponentsHeader::initCCButtonFormSize()
{