diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-20 11:11:47 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-20 16:38:54 +0200 |
commit | aa40ec4414ccb3d64f6f72faab84fa127af9974c (patch) | |
tree | 60d73fa6c8ed9b7854fcbe2cdf3d56ecad0afcb9 /vcl | |
parent | ded34422f2e6cd7b795b7e51828cf9ff3e50b35d (diff) |
callcatcher: bring Application::PostUserEvent back
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/svapp.hxx | 1 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx index d0212fbc4d37..b233a3c07c03 100644 --- a/vcl/inc/vcl/svapp.hxx +++ b/vcl/inc/vcl/svapp.hxx @@ -296,6 +296,7 @@ public: static void RemoveMouseAndKeyEvents( Window *pWin ); static sal_Bool IsProcessedMouseOrKeyEvent( sal_uLong nEventId ); + static sal_uLong PostUserEvent( sal_uLong nEvent, void* pEventData = NULL ); static sal_uLong PostUserEvent( const Link& rLink, void* pCaller = NULL ); static sal_Bool PostUserEvent( sal_uLong& rEventId, sal_uLong nEvent, void* pEventData = NULL ); static sal_Bool PostUserEvent( sal_uLong& rEventId, const Link& rLink, void* pCaller = NULL ); diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index dc63f172d87a..9d54803f7f3b 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1023,6 +1023,15 @@ sal_Bool Application::IsProcessedMouseOrKeyEvent( sal_uLong nEventId ) // ----------------------------------------------------------------------- +sal_uLong Application::PostUserEvent( sal_uLong nEvent, void* pEventData ) +{ + sal_uLong nEventId; + PostUserEvent( nEventId, nEvent, pEventData ); + return nEventId; +} + +// ----------------------------------------------------------------------- + sal_uLong Application::PostUserEvent( const Link& rLink, void* pCaller ) { sal_uLong nEventId; |