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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user