]> git.lyx.org Git - features.git/blobdiff - src/LyXView.h
patch from Angus
[features.git] / src / LyXView.h
index f4f82c6907a3e7daae7a567e5f6abbf12fee5fcd..cd5c48706ed0680e7bc81ec09abcb302f8f4fb00 100644 (file)
@@ -19,6 +19,7 @@
 #include FORMS_H_LOCATION
 
 #include "Timeout.h"
+#include "support/utility.hpp"
 
 // uncomment this line to try out the new menus
 #define NEW_MENUBAR 1
@@ -47,7 +48,7 @@ using SigC::Object;
   view is supposed (at least IMHO) to be another class, that shows its output
   in one or more LyXView's.
  */
-class LyXView : public Object {
+class LyXView : public Object, public noncopyable {
 public:
        /// constructor
        LyXView(int w, int h);