summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-03-23 15:49:50 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2023-04-04 10:22:09 +0200
commit564d8594afc64cb5e227cedb872b7cf75c0cff07 (patch)
treea2a9c173cee1d71e299f02203f28a34e6d25e49c /include/vcl
parent6942c44120243de997ede145426ccf928bafaf9f (diff)
jsdialog: update drawing area when resized
Change-Id: I429a5d750fc84b42d0d399cf3833f22e7479cfe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149455 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149998 Tested-by: Jenkins
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/customweld.hxx2
1 files changed, 1 insertions, 1 deletions
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; }