undid an overeager WXUNUSED() which broke non-Mac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -451,7 +451,7 @@ bool wxGenericDragImage::Hide()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// More efficient: erase and redraw simultaneously if possible
|
// More efficient: erase and redraw simultaneously if possible
|
||||||
bool wxGenericDragImage::RedrawImage(const wxPoint& WXUNUSED(oldPos),
|
bool wxGenericDragImage::RedrawImage(const wxPoint& oldPos,
|
||||||
const wxPoint& newPos,
|
const wxPoint& newPos,
|
||||||
bool eraseOld, bool drawNew)
|
bool eraseOld, bool drawNew)
|
||||||
{
|
{
|
||||||
@@ -459,6 +459,8 @@ bool wxGenericDragImage::RedrawImage(const wxPoint& WXUNUSED(oldPos),
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
#ifdef wxHAS_NATIVE_OVERLAY
|
#ifdef wxHAS_NATIVE_OVERLAY
|
||||||
|
wxUnusedVar(oldPos);
|
||||||
|
|
||||||
wxDCOverlay dcoverlay( m_overlay, (wxWindowDC*) m_windowDC ) ;
|
wxDCOverlay dcoverlay( m_overlay, (wxWindowDC*) m_windowDC ) ;
|
||||||
if ( eraseOld )
|
if ( eraseOld )
|
||||||
dcoverlay.Clear() ;
|
dcoverlay.Clear() ;
|
||||||
|
Reference in New Issue
Block a user