Fixed compiling the Qt interface under Mac OS X.

git-svn-id: trunk@12295 -
This commit is contained in:
sekelsenmat 2007-10-02 13:19:30 +00:00
parent 00578d83f3
commit 58d1ed40c9

View File

@ -3166,7 +3166,7 @@ begin
Result := QMainWindow_create(nil, QtWindow);
{$ifdef darwin}
if csDesigning in ComponentState then
if csDesigning in LCLObject.ComponentState then
MenuBar := TQtMenuBar.Create(nil)
else
MenuBar := TQtMenuBar.Create(Result);