summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-18 12:03:32 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-03-18 12:03:32 +0000
commit12d89865f8ea63765baa9f62611d7c89f2879176 (patch)
tree36afbe5bf59c943274d9a4493a7f4f692916ce0d
parent8b39c01c5db663c835a6cabb4a5108939d50adc6 (diff)
vcldemo: lower level help showing.
Change-Id: Ib1f4dd1b4c8c110b4d12020c69e57274bc5c0159
-rw-r--r--vcl/workben/vcldemo.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 182d488a1a77..3dc3d913a1f5 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1519,12 +1519,11 @@ public:
// Horrible code to manually provoke a help event
IMPL_LINK_NOARG(DemoWidgets,HelpTimerCb)
{
- Point aPos = mpToolbox->GetPosPixel();
- aPos.Move(10,10);
- HelpEvent aHelpEvent( aPos, HelpEventMode::BALLOON );
-// pSVData->maHelpData.mbRequestingHelp = true;
- mpToolbox->RequestHelp( aHelpEvent );
-// pSVData->maHelpData.mbRequestingHelp = false;
+ Point aPos = GetPosPixel();
+
+ aPos.Move(100,100);
+ Help::ShowBalloon( this, aPos, "This is another help balloon text" );
+
return 0;
}