Fix build error with wxUSE_DRAG_AND_DROP==0
This commit is contained in:
@@ -135,10 +135,10 @@ public:
|
|||||||
|
|
||||||
#if wxUSE_DRAG_AND_DROP
|
#if wxUSE_DRAG_AND_DROP
|
||||||
virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE;
|
virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE;
|
||||||
#endif // wxUSE_DRAG_AND_DROP
|
|
||||||
|
|
||||||
// Accept files for dragging
|
// Accept files for dragging
|
||||||
virtual void DragAcceptFiles(bool accept) wxOVERRIDE;
|
virtual void DragAcceptFiles(bool accept) wxOVERRIDE;
|
||||||
|
#endif // wxUSE_DRAG_AND_DROP
|
||||||
|
|
||||||
#ifndef __WXUNIVERSAL__
|
#ifndef __WXUNIVERSAL__
|
||||||
// Native resource loading (implemented in src/msw/nativdlg.cpp)
|
// Native resource loading (implemented in src/msw/nativdlg.cpp)
|
||||||
|
@@ -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
|
// old-style file manager drag&drop support: we retain the old-style
|
||||||
// DragAcceptFiles in parallel with SetDropTarget.
|
// DragAcceptFiles in parallel with SetDropTarget.
|
||||||
void wxWindowMSW::DragAcceptFiles(bool accept)
|
void wxWindowMSW::DragAcceptFiles(bool accept)
|
||||||
@@ -1607,6 +1605,7 @@ void wxWindowMSW::DragAcceptFiles(bool accept)
|
|||||||
::DragAcceptFiles(hWnd, (BOOL)accept);
|
::DragAcceptFiles(hWnd, (BOOL)accept);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // wxUSE_DRAG_AND_DROP
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// tooltips
|
// tooltips
|
||||||
|
Reference in New Issue
Block a user