+ return false;
+}
+
+// MyDragImage
+
+// On some platforms, notably Mac OS X with Core Graphics, we can't blit from
+// a window, so we need to draw the background explicitly.
+bool MyDragImage::UpdateBackingFromWindow(wxDC& WXUNUSED(windowDC), wxMemoryDC& destDC, const wxRect& WXUNUSED(sourceRect),
+ const wxRect& destRect) const
+{
+ destDC.SetClippingRegion(destRect);
+
+ if (wxGetApp().GetBackgroundBitmap().Ok())
+ wxGetApp().TileBitmap(destRect, destDC, wxGetApp().GetBackgroundBitmap());
+
+ m_canvas->DrawShapes(destDC);
+ return true;