projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wxListCtrl in report/virtual modes seems to work
[wxWidgets.git]
/
src
/
common
/
dobjcmn.cpp
diff --git
a/src/common/dobjcmn.cpp
b/src/common/dobjcmn.cpp
index 820989a6f48fe5fcd9b7467291c407a67b2cab69..868b9c2a58f7af455f82f11a456d1790cc8471ac 100644
(file)
--- 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