]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbutton.h
add parOwner to Inset, optimize LyXText::workWidth, fix memory corruption with lots...
[lyx.git] / src / insets / insetbutton.h
index 93c6c8a4435d3e0e2c7d48b5add19252c6847d2e..26e2952e713c7d74d21f9899f526a3b17ce7a9ae 100644 (file)
@@ -16,7 +16,7 @@
 #pragma interface
 #endif
 
-#include "lyxinset.h"
+#include "inset.h"
 #include "LString.h"
 
 /** Used to provide an inset that looks like a button.
@@ -34,8 +34,7 @@ public:
 
 protected:
        /// This should provide the text for the button
-       virtual string const getScreenLabel() const = 0;
+       virtual string const getScreenLabel(Buffer const *) const = 0;
 };
 
 #endif
-