diff options
Diffstat (limited to 'include/vcl/waitobj.hxx')
-rw-r--r-- | include/vcl/waitobj.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/vcl/waitobj.hxx b/include/vcl/waitobj.hxx index 682153a1e892..cd6b0c5cfe95 100644 --- a/include/vcl/waitobj.hxx +++ b/include/vcl/waitobj.hxx @@ -33,13 +33,8 @@ class VCL_DLLPUBLIC WaitObject private: VclPtr<vcl::Window> mpWindow; public: - WaitObject( vcl::Window* pWindow ) - { - mpWindow = pWindow; - if ( mpWindow ) - mpWindow->EnterWait(); - } - ~WaitObject(); + WaitObject(vcl::Window* pWindow); + ~WaitObject(); }; class VCL_DLLPUBLIC TopLevelWindowLocker |