Refresh the toolbar after changing tool placing value.
After changing padding for toolbar in SetToolPacking() there is necessary to refresh/recalculate the toolbar to reflect new padding.
This commit is contained in:
parent
0a917b86b7
commit
38f6cf13d5
@ -1637,6 +1637,7 @@ void wxToolBar::SetToolPacking(int packing)
|
||||
::SendMessage(GetHWND(), TB_SETPADDING, 0, MAKELPARAM(0, m_toolPacking));
|
||||
else
|
||||
::SendMessage(GetHWND(), TB_SETPADDING, 0, MAKELPARAM(m_toolPacking, 0));
|
||||
Realize();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user