vcl/workben/vcldemo.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 5fba7ebf5c465b218b650141eab28c27cc19c79e
Author: Michael Meeks <[email protected]>
Date: Thu Aug 27 14:48:36 2015 +0100
vcldemo: quit popup on mouse click.
Change-Id: I0fc1967d3863723b0c8e3e082fac19cc49aba345
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index d140b4f..9218afd 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1636,6 +1636,11 @@ class DemoPopup : public FloatingWindow
DrawRect( Rectangle( Point( 1, 1 ), aSize ) );
SetLineColor( aColor );
}
+
+ virtual void MouseButtonDown( const MouseEvent & ) SAL_OVERRIDE
+ {
+ Application::Quit();
+ }
};
class DemoApp : public Application
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits