Fix build error with wxUSE_DRAG_AND_DROP==0

This commit is contained in:
Paul Cornett
2016-12-22 22:12:45 -08:00
parent 64f1d760c6
commit 42b2675806
2 changed files with 2 additions and 3 deletions

View File

@@ -1594,8 +1594,6 @@ void wxWindowMSW::SetDropTarget(wxDropTarget *pDropTarget)
}
}
#endif // wxUSE_DRAG_AND_DROP
// old-style file manager drag&drop support: we retain the old-style
// DragAcceptFiles in parallel with SetDropTarget.
void wxWindowMSW::DragAcceptFiles(bool accept)
@@ -1607,6 +1605,7 @@ void wxWindowMSW::DragAcceptFiles(bool accept)
::DragAcceptFiles(hWnd, (BOOL)accept);
}
}
#endif // wxUSE_DRAG_AND_DROP
// ----------------------------------------------------------------------------
// tooltips