X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a65f2c80d04599738e4f3a527c4953ade08d48b..f7550d732256cbbe0d97819bf199e1d943a0590d:/src/stc/stc.cpp.in diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index fa23c2587b..2b531a6f54 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -347,7 +347,7 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename) void *bufptr = buffer.GetWriteBuf(len); success = (file.Read(bufptr, len) == len); buffer.UngetWriteBuf(len); -#if #wxUSE_UNICODE +#if wxUSE_UNICODE contents = wxString(buffer, *wxConvCurrent); #else contents = buffer; @@ -368,6 +368,7 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename) } +#if wxUSE_DRAG_AND_DROP wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def) { return m_swx->DoDragOver(x, y, def); } @@ -376,6 +377,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 //----------------------------------------------------------------------