]> git.lyx.org Git - features.git/blobdiff - src/BufferView.C
some new clipboard code
[features.git] / src / BufferView.C
index 2425f7ce1593d5e0f0c65b47095641241cdf482a..bfe5dc237b9f02d9af0200f66733648179031b72 100644 (file)
@@ -193,10 +193,12 @@ void BufferView::cursorToggleCB(FL_OBJECT * ob, long )
 }
 
 
+#ifndef XFORMS_CLIPBOARD
 void BufferView::workAreaSelectionNotify(Window win, XEvent * event)
 {
        pimpl_->workAreaSelectionNotify(win, event);
 }
+#endif
 
 
 void BufferView::cursorPrevious()
@@ -323,3 +325,11 @@ void BufferView::center()
 {
        pimpl_->center();
 }
+
+
+#ifdef XFORMS_CLIPBOARD
+void BufferView::pasteSelection(bool asPara)
+{
+       pimpl_->pasteSelection(asPara);
+}
+#endif