Fix unreferenced function warning with wxUSE_DRAG_AND_DROP disabled

This commit is contained in:
Maarten Bent
2019-11-21 21:27:57 +01:00
parent d068bcfb57
commit e80be3e3cb

View File

@@ -1746,6 +1746,8 @@ void wxWindowMSW::Update()
// drag and drop
// ---------------------------------------------------------------------------
#if wxUSE_DRAG_AND_DROP
#if wxUSE_STATBOX
// we need to lower the sibling static boxes so controls contained within can be
@@ -1777,8 +1779,6 @@ static inline void AdjustStaticBoxZOrder(wxWindow * WXUNUSED(parent))
#endif // wxUSE_STATBOX/!wxUSE_STATBOX
#if wxUSE_DRAG_AND_DROP
void wxWindowMSW::SetDropTarget(wxDropTarget *pDropTarget)
{
if ( m_dropTarget != 0 ) {