- alloc->x, alloc->y, alloc->width, alloc->height);
- }
- if (is_resize && pizza->m_backing_window)
- {
- // wxWidgets turns off redraw-on-allocate by default,
- // so border area needs to be invalidated
- if (border_x > 1 || border_y > 1)
- {
- if (pizza->m_is_scrollable)
- ; // invalidate does not seem to be needed in this case
- else
- gdk_window_invalidate_rect(pizza->m_backing_window, NULL, false);
- }
+ alloc->x + border_x, alloc->y + border_y, w, h);