bool success = file.Write(GetText(), *wxConvCurrent);
- if (success) {
+ if (success)
SetSavePoint();
- }
+
return success;
}
#else
wxString buffer;
#endif
-
off_t len = file.Length();
if (len > 0)
{
}
+#if wxUSE_DRAG_AND_DROP
+wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def) {
+ return m_swx->DoDragOver(x, y, def);
+}
+
+
+bool wxStyledTextCtrl::DoDropText(long x, long y, const wxString& data) {
+ return m_swx->DoDropText(x, y, data);
+}
+#endif
+
+
//----------------------------------------------------------------------
// Event handlers