From 29b1f0b848fb2730ee36fc6a326341db243257fe Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Fri, 17 Apr 2009 18:50:26 +0000 Subject: [PATCH] 2009-04-17 11:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! oMenuBar:show() => oWnd:setMenuBar( QT_PTROF( oMenuBar ) ) Thanks Bisz Istvin for provising the clue. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbqt/generator/hbqtgen.prg | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f772870404..4909714ae7 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-04-17 11:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * harbour/contrib/hbqt/generator/hbqtgen.prg + ! oMenuBar:show() => oWnd:setMenuBar( QT_PTROF( oMenuBar ) ) + Thanks Bisz Istvin for provising the clue. + 2009-04-17 08:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/gtqtc.cpp diff --git a/harbour/contrib/hbqt/generator/hbqtgen.prg b/harbour/contrib/hbqt/generator/hbqtgen.prg index a25b76d76a..c7f116fbe8 100644 --- a/harbour/contrib/hbqt/generator/hbqtgen.prg +++ b/harbour/contrib/hbqt/generator/hbqtgen.prg @@ -2275,7 +2275,7 @@ STATIC FUNCTION Build_Demo() aadd( txt_, ' Qt_Connect_Signal( oMenu:addAction( "W&ebPage" ), QT_EVE_TRIGGERED_B, {|w,l| Dialogs( "WebPage" , w, l ) } ) ' ) aadd( txt_, ' oMenuBar:addMenu( QT_PTROF( oMenu ) ) ' ) aadd( txt_, ' ' ) - aadd( txt_, ' oMenuBar:show() ' ) + aadd( txt_, ' oWnd:setMenuBar( QT_PTROF( oMenuBar ) ) ' ) aadd( txt_, ' ' ) aadd( txt_, ' RETURN nil ' ) aadd( txt_, ' ' )