Fix unreferenced function warning with wxUSE_DRAG_AND_DROP disabled
This commit is contained in:
@@ -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 ) {
|
||||
|
Reference in New Issue
Block a user