- if (fullScreen)
- // This line uses the whole screen...
- retValue = m_dragImage->BeginDrag(wxPoint(0, 0), this, TRUE);
- // while this line restricts dragging to the parent frame.
- // retValue = m_dragImage->BeginDrag(wxPoint(0, 0), this, GetParent());
- else
- retValue = m_dragImage->BeginDrag(wxPoint(0, 0), this);
+ // Now we do this inside the implementation: always assume
+ // coordinates relative to the capture window (client coordinates)
+
+ //if (fullScreen)
+ // beginDragHotSpot -= ClientToScreen(wxPoint(0, 0));