#include "GuiView.h"
#include "qt_helpers.h"
+// DispatchResult.h is needed by the windows compiler because lyx::dispatch
+// returns a DispatchResult const reference. Gcc does not complain. Weird...
+#include "DispatchResult.h"
#include "FuncStatus.h"
#include "FuncRequest.h"
-#include "LyXFunc.h"
+#include "LyX.h"
#include <QMouseEvent>
#include <QPainter>
namespace lyx {
namespace frontend {
-InsertTableWidget::InsertTableWidget(GuiView & lyxView, QWidget * parent)
- : QWidget(parent, Qt::Popup), colwidth_(20), rowheight_(12), lyxView_(lyxView)
+InsertTableWidget::InsertTableWidget(QWidget * parent)
+ : QWidget(parent, Qt::Popup), colwidth_(20), rowheight_(12)
{
init();
setMouseTracking(true);