diff options
Diffstat (limited to 'src/qt3support/widgets/q3mainwindow.cpp')
-rw-r--r-- | src/qt3support/widgets/q3mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt3support/widgets/q3mainwindow.cpp b/src/qt3support/widgets/q3mainwindow.cpp index b7fc486..e02d890 100644 --- a/src/qt3support/widgets/q3mainwindow.cpp +++ b/src/qt3support/widgets/q3mainwindow.cpp @@ -1042,7 +1042,7 @@ void Q3MainWindow::addDockWindow(Q3DockWindow *dockWindow, Qt::Dock edge, bool newLine) { Q_D(Q3MainWindow); -#ifdef Q_WS_MAC +#if defined (Q_WS_MAC) && !defined(QT_MAC_USE_COCOA) extern WindowPtr qt_mac_window_for(const QWidget*); //qwidget_mac.cpp if(isWindow() && edge == Qt::DockTop) { d->createWinId(); @@ -1217,7 +1217,7 @@ void Q3MainWindow::removeDockWindow(Q3DockWindow * dockWindow) { Q_D(Q3MainWindow); -#ifdef Q_WS_MAC +#if defined (Q_WS_MAC) && !defined (QT_MAC_USE_COCOA) extern WindowPtr qt_mac_window_for(const QWidget*); //qwidget_mac.cpp if(isWindow() && dockWindow->area() == topDock() && !dockWindows(Qt::DockTop).count()) ChangeWindowAttributes(qt_mac_window_for(this), 0, kWindowToolbarButtonAttribute); |