fix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-01 14:14:58 +00:00
parent 39bc0347fd
commit 996173c401

View File

@@ -157,13 +157,14 @@ public:
// Attributes // Attributes
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
#ifdef wxHAS_NATIVE_OVERLAY
// backing store is not used when native overlays are
void SetBackingBitmap(wxBitmap* WXUNUSED(bitmap)) { }
#else
// For efficiency, tell wxGenericDragImage to use a bitmap that's already // For efficiency, tell wxGenericDragImage to use a bitmap that's already
// created (e.g. from last drag) // created (e.g. from last drag)
void SetBackingBitmap(wxBitmap* bitmap) { void SetBackingBitmap(wxBitmap* bitmap) { m_pBackingBitmap = bitmap; }
#ifndef wxHAS_NATIVE_OVERLAY #endif // wxHAS_NATIVE_OVERLAY/!wxHAS_NATIVE_OVERLAY
m_pBackingBitmap = bitmap;
#endif
}
// Operations // Operations
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////