[Libreoffice-commits] core.git: vcl/workben
Michael Meeks
michael.meeks at collabora.com
Thu Aug 27 06:40:35 PDT 2015
vcl/workben/vcldemo.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 5fba7ebf5c465b218b650141eab28c27cc19c79e
Author: Michael Meeks <michael.meeks at collabora.com>
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
More information about the Libreoffice-commits
mailing list