diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-07 22:08:21 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-08 17:37:41 +0100 |
commit | a738606d48d6678aaabf68a6ba748f79d5c6b9b8 (patch) | |
tree | 38f8184d4691c43e3a9e4beb7a1989ec1e7c1b4d /include/vcl/window.hxx | |
parent | 5c430093a301b31174a81ad4437f0361c86cfe3c (diff) |
PostUserEvent - instrument to allow holding a VclPtr reference.
This helps avoid things dying during emission in a robust manner.
Bit of an unpleasant 3rd optional parameter; better names appreciated.
Change-Id: I27571823f9d96caef1d07602785a02390d3a3591
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 3209906ff085..9c2526db8220 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -728,7 +728,7 @@ public: void AddChildEventListener( const Link<>& rEventListener ); void RemoveChildEventListener( const Link<>& rEventListener ); - ImplSVEvent * PostUserEvent( const Link<>& rLink, void* pCaller = NULL ); + ImplSVEvent * PostUserEvent( const Link<>& rLink, void* pCaller = NULL, bool bReferenceLink = false ); void RemoveUserEvent( ImplSVEvent * nUserEvent ); void IncrementLockCount(); |