Fixed build issues

This commit is contained in:
Matthew Griffin
2019-05-30 11:45:16 +01:00
parent 77d5d31690
commit 3f4b74baea
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ public:
m_textCtrl = NULL;
}
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const wxOVERRIDE
void setModelData(QWidget *WXUNUSED(editor), QAbstractItemModel *WXUNUSED(model), const QModelIndex &WXUNUSED(index)) const wxOVERRIDE
{
// Don't set model data until wx has had a chance to send out events
}

View File

@@ -371,7 +371,7 @@ private:
GetHandler(),
wxQtConvertTreeItem(itemFromIndex(current_index))
);
if (hint == QAbstractItemDelegate::EndEditHint::RevertModelCache)
if (hint == QAbstractItemDelegate::RevertModelCache)
{
event.SetEditCanceled(true);
EmitEvent(event);