From dee221e2a50cd824b84ef81f42c4a792aac51819 Mon Sep 17 00:00:00 2001 From: Graham Dawes Date: Wed, 6 Feb 2019 08:32:41 +0000 Subject: [PATCH] Rename wxQtItemEditorFactory to wxQtTreeItemEditorFactory --- src/qt/listctrl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qt/listctrl.cpp b/src/qt/listctrl.cpp index 500d7b1450..5209a5db7e 100644 --- a/src/qt/listctrl.cpp +++ b/src/qt/listctrl.cpp @@ -89,10 +89,10 @@ private: // QT doesn't give us direct access to the editor within the QTreeWidget. // Instead, we'll supply a factory to create the widget for QT and keep track // of it ourselves. -class wxQtItemEditorFactory : public QItemEditorFactory +class wxQtTreeItemEditorFactory : public QItemEditorFactory { public: - explicit wxQtItemEditorFactory(wxWindow* parent) + explicit wxQtTreeItemEditorFactory(wxWindow* parent) : m_parent(parent), m_textCtrl(NULL) { @@ -120,7 +120,7 @@ private: wxWindow* m_parent; mutable wxTextCtrl* m_textCtrl; - wxDECLARE_NO_COPY_CLASS(wxQtItemEditorFactory); + wxDECLARE_NO_COPY_CLASS(wxQtTreeItemEditorFactory); }; class wxQtListTreeWidget : public wxQtEventSignalHandler< QTreeWidget, wxListCtrl > @@ -153,7 +153,7 @@ private: qItemDelegate->setItemEditorFactory(&m_editorFactory); } - wxQtItemEditorFactory m_editorFactory; + wxQtTreeItemEditorFactory m_editorFactory; }; wxQtListTreeWidget::wxQtListTreeWidget( wxWindow *parent, wxListCtrl *handler )