diff --git a/src/msw/toolbar.cpp b/src/msw/toolbar.cpp index 3dbff0f32b..56f983086b 100644 --- a/src/msw/toolbar.cpp +++ b/src/msw/toolbar.cpp @@ -1932,8 +1932,7 @@ bool wxToolBar::HandlePaint(WXWPARAM wParam, WXLPARAM lParam) } else { - rcItem.top = 0; - rcItem.bottom = rectTotal.height; + rcItem.bottom = rcItem.top + rectTotal.height / m_maxRows; } // Apparently, regions of height < 3 are not taken into account