include/vcl/customweld.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 564d8594afc64cb5e227cedb872b7cf75c0cff07 Author: Szymon Kłos <[email protected]> AuthorDate: Thu Mar 23 15:49:50 2023 +0100 Commit: Szymon Kłos <[email protected]> CommitDate: Tue Apr 4 10:22:09 2023 +0200 jsdialog: update drawing area when resized Change-Id: I429a5d750fc84b42d0d399cf3833f22e7479cfe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149455 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149998 Tested-by: Jenkins diff --git a/include/vcl/customweld.hxx b/include/vcl/customweld.hxx index 32c43db643a8..c7504fb94d95 100644 --- a/include/vcl/customweld.hxx +++ b/include/vcl/customweld.hxx @@ -30,7 +30,7 @@ public: } // rRect is in Logical units rather than Pixels virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) = 0; - virtual void Resize() {} + virtual void Resize() { Invalidate(); } virtual bool MouseButtonDown(const MouseEvent&) { return false; } virtual bool MouseMove(const MouseEvent&) { return false; } virtual bool MouseButtonUp(const MouseEvent&) { return false; }
