Rewrote wxToolBar another time.
Other minor tweaks. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -236,9 +236,9 @@ void wxButton::SetImageLabel(const wxBitmap& bitmap)
|
||||
|
||||
void wxButton::SetImageMargins(wxCoord x, wxCoord y)
|
||||
{
|
||||
m_marginBmpX = x;
|
||||
m_marginBmpY = y;
|
||||
|
||||
m_marginBmpX = x + 2;
|
||||
m_marginBmpY = y + 2;
|
||||
|
||||
SetBestSize(wxDefaultSize);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user