From f531d3c4d4a2578bc3c40b61c1058f6d6b247f4d Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Wed, 24 Sep 2003 15:54:00 +0000 Subject: [PATCH] compile for motif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/stc.cpp | 3 ++- contrib/src/stc/stc.cpp.in | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index 493db91db6..a67fb5a115 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -2162,7 +2162,7 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename) return success; } - +#if wx_USE_DRAG_DROP wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def) { return m_swx->DoDragOver(x, y, def); } @@ -2171,6 +2171,7 @@ wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def bool wxStyledTextCtrl::DoDropText(long x, long y, const wxString& data) { return m_swx->DoDropText(x, y, data); } +#endif //---------------------------------------------------------------------- diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index 2df0a99cc2..55e16c352f 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/src/stc/stc.cpp.in @@ -367,7 +367,7 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename) return success; } - +#if wx_USE_DRAG_DROP wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def) { return m_swx->DoDragOver(x, y, def); } @@ -376,7 +376,7 @@ wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def bool wxStyledTextCtrl::DoDropText(long x, long y, const wxString& data) { return m_swx->DoDropText(x, y, data); } - +#endif //---------------------------------------------------------------------- // Event handlers