diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-12-31 13:30:00 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 19:51:11 +0100 |
commit | 99fc2f4e92711be9ac82f385519a23ed9d5badac (patch) | |
tree | e2e2d91b5b553c48fc54878c26464a740f9090b3 /include/vcl | |
parent | f3add7029e5778818283d48803e46ac4ecf875f5 (diff) |
vcl: double dispose protection & unit test.
Widgets must be able to tolerate multiple 'dispose' calls.
Change-Id: I76069a10b83b8384ad84dd146766054cab5bd222
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/window.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 189f15b231df..90c5d858f0eb 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -363,6 +363,8 @@ class VclBuilder; class ImplDockingWindowWrapper; class ImplPopupFloatWin; class MenuFloatingWindow; +class LifecycleTest; + namespace svt { class PopupWindowControllerImpl; } struct WindowResHeader @@ -392,6 +394,7 @@ class VCL_DLLPUBLIC Window : public ::OutputDevice, public Resource friend class ::ImplBorderWindow; friend class ::VclBuilder; friend class ::PaintHelper; + friend class ::LifecycleTest; // TODO: improve missing functionality // only required because of SetFloatingMode() |