diff options
Diffstat (limited to 'include/vcl/event.hxx')
-rw-r--r-- | include/vcl/event.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx index 05a54dc7dfc5..22361a6f910b 100644 --- a/include/vcl/event.hxx +++ b/include/vcl/event.hxx @@ -26,6 +26,7 @@ #include <vcl/keycod.hxx> #include <vcl/cmdevt.hxx> #include <vcl/settings.hxx> +#include <vcl/vclptr.hxx> class AllSettings; class OutputDevice; @@ -411,7 +412,7 @@ enum class MouseNotifyEvent class VCL_DLLPUBLIC NotifyEvent { private: - vcl::Window* mpWindow; + VclPtr<vcl::Window> mpWindow; void* mpData; MouseNotifyEvent mnEventType; long mnRetValue; |