X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bcea60e1b7e032900dd65933e2b529931e7ef7d..24b9f055150de329d1fb61df5ce8d14e6d657cd0:/src/common/dobjcmn.cpp diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 820989a6f4..868b9c2a58 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -27,6 +27,8 @@ #pragma hdrstop #endif +#if wxUSE_DATAOBJ + #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/debug.h" @@ -364,5 +366,6 @@ wxDragResult wxFileDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def) return OnDropFiles(x, y, dobj->GetFilenames()) ? def : wxDragNone; } -#endif +#endif // wxUSE_DRAG_AND_DROP +#endif // wxUSE_DATAOBJ