Implement wxListCtrl::GetEditControl() for wxQt

To get access to the control used for editing items, we need to create
it ourselves, which involves defining our own factory for doing this,
but seems to be the only way of achieving our goal.

Closes https://github.com/wxWidgets/wxWidgets/pull/1204
This commit is contained in:
Graham Dawes
2019-02-01 09:26:59 +00:00
committed by Vadim Zeitlin
parent 89e5663a75
commit f2d20384a0
2 changed files with 127 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
#include "wx/textctrl.h"
class QTreeWidget;
class wxQtTreeWidget;
class QTreeWidgetItem;
class WXDLLIMPEXP_FWD_CORE wxImageList;
@@ -303,7 +303,7 @@ protected:
m_ownsImageListSmall,
m_ownsImageListState;
private:
QTreeWidget *m_qtTreeWidget;
wxQtTreeWidget *m_qtTreeWidget;
wxDECLARE_DYNAMIC_CLASS( wxListCtrl );
};