VirtualBox

Changeset 56507 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 18, 2015 11:43:09 AM (10 years ago)
Author:
vboxsync
Message:

OS X build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r56497 r56507  
    15041504    if (!dragAndDropIsActive())
    15051505        rc = VERR_ACCESS_DENIED;
     1506#ifdef VBOX_WITH_DRAG_AND_DROP_GH
    15061507    else if (!m_fIsDraggingFromGuest)
    15071508    {
     
    15141515    else /* Already dragging, so report success. */
    15151516        rc = VINF_SUCCESS;
     1517#else
     1518    rc = VERR_NOT_SUPPORTED;
     1519#endif
    15161520
    15171521    LogRel3(("DnD: dragCheckPending ended with rc=%Rrc\n", rc));
     
    15251529    if (!dragAndDropIsActive())
    15261530        rc = VERR_ACCESS_DENIED;
     1531#ifdef VBOX_WITH_DRAG_AND_DROP_GH
    15271532    else if (!m_fIsDraggingFromGuest)
    15281533        rc = VERR_WRONG_ORDER;
     
    15351540        m_fIsDraggingFromGuest = false;
    15361541    }
     1542#else
     1543    rc = VERR_NOT_SUPPORTED;
     1544#endif
    15371545
    15381546    LogRel3(("DnD: dragStart ended with rc=%Rrc\n", rc));
     
    15461554    if (!dragAndDropIsActive())
    15471555        rc = VERR_ACCESS_DENIED;
     1556#ifdef VBOX_WITH_DRAG_AND_DROP_GH
    15481557    else if (!m_fIsDraggingFromGuest)
    15491558        rc = VERR_WRONG_ORDER;
    15501559    else
    15511560        rc = m_pDnDHandler->dragStop(screenId());
     1561#else
     1562    rc = VERR_NOT_SUPPORTED;
     1563#endif
    15521564
    15531565    LogRel3(("DnD: dragStop ended with rc=%Rrc\n", rc));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette