Fixed build issues
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -371,7 +371,7 @@ private:
|
||||
GetHandler(),
|
||||
wxQtConvertTreeItem(itemFromIndex(current_index))
|
||||
);
|
||||
if (hint == QAbstractItemDelegate::EndEditHint::RevertModelCache)
|
||||
if (hint == QAbstractItemDelegate::RevertModelCache)
|
||||
{
|
||||
event.SetEditCanceled(true);
|
||||
EmitEvent(event);
|
||||
|
Reference in New Issue
Block a user