Qt: Fixed invisible main menu under lazarus IDE for win32.

git-svn-id: trunk@12273 -
This commit is contained in:
zeljko 2007-10-01 14:21:29 +00:00
parent 3944285bc5
commit a05aa657e8

View File

@ -3220,7 +3220,12 @@ begin
{$endif}
// Main menu bar
{TODO: remove this ifdef as soon as we create MenuBar on demand creation,
not per default !}
{$ifdef windows}
if Assigned(TCustomForm(LCLObject).Menu) then
{$endif}
MenuBar := TQtMenuBar.Create(Result);
FCentralWidget := QWidget_create(Result);